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...
HighCVSS 7.2
EPSS 80.7%
Framework module
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
- Technology
- PHP
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().
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| librenms/librenms | <= 1.47 | after 1.47 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| librenms/librenms | <= 1.47 | No fix listed |
References
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- www.darkmatter.ae exploit third-party-advisory