CVE-2019-10669: LibreNMS - Command Injection
- Cve: CVE-2019-10669
- Name: LibreNMS - Command Injection
- 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().
- Impact: Attackers can execute arbitrary commands on the server, potentially leading to full system compromise.
- Remediation: Use appropriate command escaping functions such as escapeshellarg() or escapeshellcmd() to sanitize command arguments.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.2
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.80692
- Epss percentile: 0.99636
- Assignee: [email protected]
- Published at: 2019-09-09T13:15:11Z
- Age in days: 2633
- Modified at: 2026-06-17T02:11:29Z
- Public exploits total: 3
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-10669
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Public exploits
References
| Url | Source | Tags |
|---|---|---|
| http://packetstormsecurity.com/files/154391/LibreNMS-Collectd-Command-Injection.html | nvd | Exploit, Third Party Advisory, VDB Entry |
| https://www.darkmatter.ae/xen1thlabs/librenms-command-injection-vulnerability-xl-19-017/ | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| librenms:librenms | <= 1.47 | no | nvd | /v1/products/librenms/librenms |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 3
- Public exploit first date: 2019-07-15
- Remote: yes
- Authentication required: yes
- Exposed hosts: 6664
- Checked, none or zero: known exploited, known exploited by, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports