First published: Mon Sep 09 2019(Updated: )
An issue was discovered in LibreNMS through 1.47. There is a command injection vulnerability in html/includes/graphs/device/collectd.inc.php where user supplied parameters are filtered with the mysqli_escape_real_string function. This function is not the appropriate function to sanitize command arguments as it does not escape a number of command line syntax characters such as ` (backtick), allowing an attacker to inject commands into the variable $rrd_cmd, which gets executed via passthru().
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Librenms Librenms | <=1.47 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2019-10669 is a command injection vulnerability in LibreNMS through version 1.47.
The severity of CVE-2019-10669 is high with a CVSS score of 7.2.
CVE-2019-10669 allows an attacker to execute arbitrary commands on the target system through a command injection vulnerability in LibreNMS.
To fix CVE-2019-10669, upgrade LibreNMS to version 1.48 or later.
You can find more information about CVE-2019-10669 at the following references: [Reference 1](http://packetstormsecurity.com/files/154391/LibreNMS-Collectd-Command-Injection.html) and [Reference 2](https://www.darkmatter.ae/xen1thlabs/librenms-command-injection-vulnerability-xl-19-017/).