CVE-2024-45416

High

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.

SeverityHigh
CVSS8.1
Exploit probability—
ProductZte Zxhn Z500 Firmware
PublishedSep 16, 2024
First seenSep 16, 2024
Weakness typeCWE-829CWE-829

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
zte zxhn_z500_firmwareV1.0.1.1B2.1000—
zte zxhn_e500_firmwareV1.0.1.1B2.1000—
zte zxhn_h108n_firmwareV2.6.20.ROST12—
zte zxhn_e2615_firmwareV1.0.1—
zte zxhn_e2603_firmwareV1.0.1—
zte zxhn_e2618_firmwareV1.0.0.2B4.3000—
zte zxhn_e1600_firmwareV1.0.0.2B1.1000—
zte zxhn_h338a_firmwareV1.5.0_H3A.1T9P1-o—
zte zxhn_h168n_firmwareV3.5.5_CO.1T1—
zte zxhn_h168a_firmwareTTN.1T1_211029—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.