Vulnerability Details : CVE-2019-10669
Public exploit exists!
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().
Products affected by CVE-2019-10669
- cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2019-10669
92.14%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 99 %
Percentile, the proportion of vulnerabilities that are scored at or less
Metasploit modules for CVE-2019-10669
-
LibreNMS Collectd Command Injection
Disclosure Date: 2019-07-15First seen: 2020-04-26exploit/linux/http/librenms_collectd_cmd_injectThis module exploits a command injection vulnerability in the Collectd graphing functionality in LibreNMS. The `to` and `from` parameters used to define the range for a graph are sanitized using the `mysqli_escape_real_string()` function, which permits backt
CVSS scores for CVE-2019-10669
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | AV:N/AC:L/Au:S/C:P/I:P/A:P |
8.0
|
6.4
|
NIST | |
7.2
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
1.2
|
5.9
|
NIST |
CWE ids for CVE-2019-10669
-
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.Assigned by: nvd@nist.gov (Primary)
References for CVE-2019-10669
-
https://www.darkmatter.ae/xen1thlabs/librenms-command-injection-vulnerability-xl-19-017/
404 Not FoundExploit;Third Party Advisory
-
http://packetstormsecurity.com/files/154391/LibreNMS-Collectd-Command-Injection.html
LibreNMS Collectd Command Injection ≈ Packet StormExploit;Third Party Advisory;VDB Entry
Jump to