CVE-2024-45416: ZTE Routers - File Inclusion
- Cve: CVE-2024-45416
- Name: ZTE Routers - File Inclusion
- 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.
- Impact: Attackers can execute arbitrary code as root on the device, leading to complete system compromise.
- Remediation: Apply firmware updates provided by ZTE that fix the session_init function or patch the vulnerability.
- Vulnerability type: file_inclusion
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00561
- Epss percentile: 0.473
- Assignee: [email protected]
- Published at: 2024-09-16T21:15:46Z
- Age in days: 799
- Modified at: 2026-06-17T07:54:10Z
- References total: 1
- Products total: 9
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-45416
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere |
References
| Url | Source | Tags |
|---|---|---|
| https://wr3nchsr.github.io/zte-multiple-routers-httpd-vulnerabilities-advisory/ | nvd |
Products
Same in every row:
- Platform bound: no
- Sources: adp_cpes
| Product | Affected | Url |
|---|---|---|
| zte:zxhn_h168n_firmware | = 3.5.5_CO.1T1 | /v1/products/zte/zxhn_h168n_firmware |
| zte:zxhn_h108n_firmware | = 2.6.20.ROST12 | /v1/products/zte/zxhn_h108n_firmware |
| zte:zxhn_z500_firmware | = 1.0.1.1B2.1000 | /v1/products/zte/zxhn_z500_firmware |
| zte:zxhn_e1600_firmware | = 1.0.0.2B1.1000 | /v1/products/zte/zxhn_e1600_firmware |
| zte:zxhn_e2603_firmware | = 1.0.1 | /v1/products/zte/zxhn_e2603_firmware |
| zte:zxhn_e2615_firmware | = 1.0.1 | /v1/products/zte/zxhn_e2615_firmware |
| zte:zxhn_e2618_firmware | = 1.0.0.2B4.3000 | /v1/products/zte/zxhn_e2618_firmware |
| zte:zxhn_e500_firmware | = 1.0.1.1B2.1000 | /v1/products/zte/zxhn_e500_firmware |
| zte:zxhn_h338a_firmware | = 1.5.0_H3A.1T9P1-o | /v1/products/zte/zxhn_h338a_firmware |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts