{"id":"CVE-2019-12463","published":"2019-09-09T13:02:52Z","modified":"2024-08-04T23:17:40Z","title":"An issue was discovered in LibreNMS 1.50.1","vendor":null,"product":null,"tier":"tail","description":{"text":"An issue was discovered in LibreNMS 1.50.1. The scripts that handle graphing options (includes/html/graphs/common.inc.php and includes/html/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 and html/graph-realtime.php scripts. RRDtool syntax is quite versatile and an attacker could leverage this to perform a number of attacks, including disclosing directory structure and filenames, disclosing file content, denial of service, or writing arbitrary files. NOTE: relative to CVE-2019-10665, this requires authentication and the pathnames differ.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01392,"percentile":0.73033,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.darkmatter.ae/xen1thlabs/librenms-rrdtool-injection-vulnerability-xl-19-022/","tags":["x_refsource_MISC"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":14.61}]},"affected":[{"ecosystem":"Packagist","package":"librenms/librenms","vulnerableRanges":[">=1.50.1, <1.53"],"patched":["1.53"],"from":["GHSA-w5r2-gvgf-mpm8"],"provenance":"source"}],"summary":{"text":"The flaw is in LibreNMS 1.50.1's graphing scripts (includes/html/graphs/common.inc.php and includes/html/graphs/graphs.inc.php), where several user-supplied fields are either insufficiently validated or only escaped for SQL, leaving them unfiltered before being used in graph generation. An authenticated attacker can inject newline-separated RRDtool syntax through the html/graph.php and html/graph-realtime.php scripts, which could be leveraged to disclose directory structure, filenames, or file contents, cause denial of service, or write arbitrary files.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:03Z"},"euvd":{"id":"EUVD-2019-0717","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-10667","published":"2019-09-09","fixed":"1.50.1","kev":false},{"cve":"CVE-2019-10668","published":"2019-09-09","fixed":"1.50.1","kev":false,"link":{"from":"CVE-2019-10668","to":"CVE-2019-12463","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:librenms/librenms","fromFixed":"1.50.1","toFixed":"1.53","daysApart":0}]}},{"cve":"CVE-2019-10671","published":"2019-09-09","fixed":"1.50.1","kev":false},{"cve":"CVE-2019-12463","published":"2019-09-09","fixed":"1.53","kev":false},{"cve":"CVE-2019-12464","published":"2019-09-09","fixed":"1.53","kev":false},{"cve":"CVE-2019-12465","published":"2019-09-09","fixed":"1.53","kev":false},{"cve":"CVE-2018-20678","published":"2019-03-28","fixed":"1.65","kev":false}],"package":"Packagist:librenms/librenms"}}