CVE-2024-45416
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
zte zxhn_z500_firmwareV1.0.1.1B2.1000CVE List
zte zxhn_e500_firmwareV1.0.1.1B2.1000CVE List
zte zxhn_h108n_firmwareV2.6.20.ROST12CVE List
zte zxhn_e2615_firmwareV1.0.1CVE List
zte zxhn_e2603_firmwareV1.0.1CVE List
zte zxhn_e2618_firmwareV1.0.0.2B4.3000CVE List
zte zxhn_e1600_firmwareV1.0.0.2B1.1000CVE List
zte zxhn_h338a_firmwareV1.5.0_H3A.1T9P1-oCVE List
zte zxhn_h168n_firmwareV3.5.5_CO.1T1CVE List
zte zxhn_h168a_firmwareTTN.1T1_211029CVE List

Classification

CWE-829

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

SourceRecordLicence
CVE ListCVE-2024-45416 changed 2024-09-18CVE Terms of Use
NVDCVE-2024-45416 changed 2026-06-17Public domain