RCE in Librenms
CVE-2019-10669
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().
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.807 (99.6th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 100th percentile — 99.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.807 · newest: 0.807 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- packetstormsecurity.com/files/154391/LibreNMS-Collectd-Command-Injection.html (Exploit, VDB Entry, Third Party Advisory)
- www.darkmatter.ae/xen1thlabs/librenms-command-injection-vulnerability-xl-19-017/ (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2019-10669?
- CVE-2019-10669 is a high-severity vulnerability in Librenms, classified under OS Command Injection. CVSS score: 7.2/10. Published 2019-09-09.
- How severe is CVE-2019-10669?
- High severity. CVSS v3 base score is 7.2 out of 10.
- Is CVE-2019-10669 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.