CVE-2019-10669
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.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 80.7%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.
Description
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().
- CVSS 3.1
- 7.2 HIGHCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 80.69% probability · 100th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- librenms/librenms
- Source
- cve@mitre.org
References
- http://packetstormsecurity.com/files/154391/LibreNMS-Collectd-Command-Injection.htmlExploit, Third Party Advisory, VDB Entry
- https://www.darkmatter.ae/xen1thlabs/librenms-command-injection-vulnerability-xl-19-017/Exploit, Third Party Advisory
- http://packetstormsecurity.com/files/154391/LibreNMS-Collectd-Command-Injection.htmlExploit, Third Party Advisory, VDB Entry
- https://www.darkmatter.ae/xen1thlabs/librenms-command-injection-vulnerability-xl-19-017/Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.