CVE-2019-12463: SQL Injection
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 mysqlirealescapestring, 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.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2019-12463?
CVE-2019-12463 is a vulnerability in LibreNMS 1.50.1 that allows for unvalidated user input to be processed, potentially resulting in injection attacks.
How severe is CVE-2019-12463?
CVE-2019-12463 has a severity rating of 8.8 out of 10, indicating a high-risk vulnerability.
How can I exploit CVE-2019-12463?
I'm sorry, but it is not ethical to provide instructions on how to exploit a vulnerability.
How can I fix CVE-2019-12463?
To fix CVE-2019-12463, it is recommended to update LibreNMS to a version beyond 1.53, as the vulnerability has been patched in later releases.
Where can I find more information about CVE-2019-12463?
More information about CVE-2019-12463 can be found at the following link: https://www.darkmatter.ae/xen1thlabs/librenms-rrdtool-injection-vulnerability-xl-19-022/