{"id":"CVE-2024-45416","aliases":["CVE-2024-45416"],"related":[],"kind":"vulnerability","state":"published","title":"The HTTPD binary in multiple ZTE routers has a local file inclusion vulnerability in sessioninit function.","summary":"The HTTPD binary in multiple ZTE routers has a local file inclusion vulnerability in session_init function. The session -LUA- files are stored in the directory /var/lua_session, the function iterates on all files in this directory and executes them using the function dofile without any validation if it is a valid session file or not. An attacker who is able to write a malicious file in the sessions directory can get RCE as root.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The HTTPD binary in multiple ZTE routers has a local file inclusion vulnerability in session_init function. The session -LUA- files are stored in the directory /var/lua_session, the function iterates on all files in this directory and executes them using the function dofile without any validation if it is a valid session file or not. An attacker who is able to write a malicious file in the sessions directory can get RCE as root.","source":"cvelist"},{"lang":"es","text":"El binario HTTPD en varios ZTE routers tiene una vulnerabilidad de inclusión de archivos locales en la función session_init. Los archivos de sesión -LUA- se almacenan en el directorio /var/lua_session, la función itera sobre todos los archivos de este directorio y los ejecuta utilizando la función dofile sin ninguna validación si es un archivo de sesión válido o no. Un atacante que pueda escribir un archivo malicioso en el directorio sessions puede obtener RCE como superusuario.","source":"nvd"}],"published":"2024-09-16T00:00:00.000Z","modified":"2026-06-17T07:54:10.587Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-829"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"version":"V1.0.1.1B2.1000","status":"affected"}],"vendor":"zte","product":"zxhn_z500_firmware","cpe":"cpe:2.3:o:zte:zxhn_z500_firmware:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"V1.0.1.1B2.1000","status":"affected"}],"vendor":"zte","product":"zxhn_e500_firmware","cpe":"cpe:2.3:o:zte:zxhn_e500_firmware:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"V2.6.20.ROST12","status":"affected"}],"vendor":"zte","product":"zxhn_h108n_firmware","cpe":"cpe:2.3:o:zte:zxhn_h108n_firmware:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"V1.0.1","status":"affected"}],"vendor":"zte","product":"zxhn_e2615_firmware","cpe":"cpe:2.3:o:zte:zxhn_e2615_firmware:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"V1.0.1","status":"affected"}],"vendor":"zte","product":"zxhn_e2603_firmware","cpe":"cpe:2.3:o:zte:zxhn_e2603_firmware:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"V1.0.0.2B4.3000","status":"affected"}],"vendor":"zte","product":"zxhn_e2618_firmware","cpe":"cpe:2.3:o:zte:zxhn_e2618_firmware:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"V1.0.0.2B1.1000","status":"affected"}],"vendor":"zte","product":"zxhn_e1600_firmware","cpe":"cpe:2.3:o:zte:zxhn_e1600_firmware:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"V1.5.0_H3A.1T9P1-o","status":"affected"}],"vendor":"zte","product":"zxhn_h338a_firmware","cpe":"cpe:2.3:o:zte:zxhn_h338a_firmware:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"V3.5.5_CO.1T1","status":"affected"}],"vendor":"zte","product":"zxhn_h168n_firmware","cpe":"cpe:2.3:o:zte:zxhn_h168n_firmware:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"TTN.1T1_211029","status":"affected"}],"vendor":"zte","product":"zxhn_h168a_firmware","cpe":"cpe:2.3:o:zte:zxhn_h168a_firmware:*:*:*:*:*:*:*:*","source":"cvelist"}],"references":[{"url":"https://wr3nchsr.github.io/zte-multiple-routers-httpd-vulnerabilities-advisory/","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-09-18T15:01:15.235Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-45416","url":"https://www.cve.org/CVERecord?id=CVE-2024-45416","licence":"CVE Terms of Use","modified":"2024-09-18T15:18:27.957Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-45416","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45416","licence":"Public domain","modified":"2026-06-17T07:54:10.587Z"}],"updatedAt":"2026-11-25T22:58:45.464Z","epss":{"score":0.00561,"percentile":0.48027,"date":"2026-12-01T12:00:22.000Z"}}