Advisory

GHSA-q5rg-wg7h-73m5

Also known as: CVE-2019-10665

Summary

LibreNMS Information Disclosure

Details

An issue was discovered in LibreNMS through 1.47. The scripts that handle 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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-24 16:55 UTC
Modified
2026-03-06 15:16 UTC

Affected packages and fixes

librenms/librenms

Packagist · All systems

Affected

  • introduced 0, last affected 1.47 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences