8.1
HIGH
CVE-2024-45416
ZTE HTTPD Lua File Inclusion Remote Code Execution
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.

INFO

Published Date :

Sept. 16, 2024, 9:15 p.m.

Last Modified :

Sept. 20, 2024, 12:31 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.2
Public PoC/Exploit Available at Github

CVE-2024-45416 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-45416 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Zte zxhn_h108n_firmware
2 Zte zxhn_h168n_firmware
3 Zte zxhn_z500_firmware
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-45416.

URL Resource
https://wr3nchsr.github.io/zte-multiple-routers-httpd-vulnerabilities-advisory/

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

0day backdoor router security zte

Python Lua

Updated: 2 days, 23 hours ago
2 stars 0 fork 0 watcher
Born at : March 18, 2025, 4:27 p.m. This repo has been linked 2 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-45416 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-45416 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Sep. 18, 2024

    Action Type Old Value New Value
    Added CWE CISA-ADP CWE-829
    Added CVSS V3.1 CISA-ADP AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • CVE Received by [email protected]

    Sep. 16, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference MITRE https://wr3nchsr.github.io/zte-multiple-routers-httpd-vulnerabilities-advisory/ [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability