8.1high
The HTTPD binary in multiple ZTE routers has a local file inclusion vulnerability in sessioninit function.
- Severity
- 8.1high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.56% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| zte zxhn_z500_firmware | V1.0.1.1B2.1000 | CVE List |
| zte zxhn_e500_firmware | V1.0.1.1B2.1000 | CVE List |
| zte zxhn_h108n_firmware | V2.6.20.ROST12 | CVE List |
| zte zxhn_e2615_firmware | V1.0.1 | CVE List |
| zte zxhn_e2603_firmware | V1.0.1 | CVE List |
| zte zxhn_e2618_firmware | V1.0.0.2B4.3000 | CVE List |
| zte zxhn_e1600_firmware | V1.0.0.2B1.1000 | CVE List |
| zte zxhn_h338a_firmware | V1.5.0_H3A.1T9P1-o | CVE List |
| zte zxhn_h168n_firmware | V3.5.5_CO.1T1 | CVE List |
| zte zxhn_h168a_firmware | TTN.1T1_211029 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-45416 changed 2024-09-18 | CVE Terms of Use |
| NVD | CVE-2024-45416 changed 2026-06-17 | Public domain |