{"id":"CVE-2019-10665","aliases":["CVE-2019-10665","GHSA-q5rg-wg7h-73m5"],"related":[],"kind":"vulnerability","state":"published","title":"LibreNMS Information Disclosure","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se detectó un problema en LibreNMS versiones hasta 1.47. Los scripts que manejan las opciones de graficación (archivos html/includes/graphs/common.inc.php y html/includes/graphs/graphs.inc.php) no comprueban ni codifican suficientemente varios campos de entrada suministrada por el usuario. Algunos parámetros son filtrados con la función mysqli_real_escape_string, que solo es útil para impedir ataques de inyección SQL; Otros parámetros no son filtrados. Esto permite a un atacante inyectar la sintaxis RRDtool con caracteres newline por medio del script html/graph.php. La sintaxis de RRDtool es sumamente versátil y un atacante podría aprovechar esto para realizar una serie de ataques, incluyendo la divulgación de la estructura del directorio y los nombres de archivo, el contenido del archivo, la denegación de servicio o la escritura de archivos arbitrarios.","source":"nvd"}],"published":"2019-09-09T12:56:43.000Z","modified":"2026-06-17T02:11:28.587Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-74"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"1.47"}],"ecosystem":"Packagist","package":"librenms/librenms","purl":"pkg:composer/librenms/librenms","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"1.47"}],"vendor":"librenms","product":"librenms","cpe":"cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.darkmatter.ae/xen1thlabs/librenms-rrdtool-injection-vulnerability-xl-19-023/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10665","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/librenms/librenms","tags":["package"],"sources":["ghsa"]},{"url":"https://www.darkmatter.ae/xen1thlabs/librenms-rrdtool-injection-vulnerability-xl-19-023","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-10665","url":"https://www.cve.org/CVERecord?id=CVE-2019-10665","licence":"CVE Terms of Use","modified":"2024-08-04T22:32:01.192Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q5rg-wg7h-73m5","url":"https://github.com/advisories/GHSA-q5rg-wg7h-73m5","licence":"CC-BY-4.0","modified":"2026-03-06T15:16:30.633Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-10665","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10665","licence":"Public domain","modified":"2026-06-17T02:11:28.587Z"}],"updatedAt":"2026-11-25T22:57:46.866Z","epss":{"score":0.01482,"percentile":0.74714,"date":"2026-12-01T12:00:22.000Z"}}