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().
Configurations

Configuration 1 (hide)

cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*

History

21 Nov 2024, 04:19

Type Values Removed Values Added
References () http://packetstormsecurity.com/files/154391/LibreNMS-Collectd-Command-Injection.html - Exploit, Third Party Advisory, VDB Entry () http://packetstormsecurity.com/files/154391/LibreNMS-Collectd-Command-Injection.html - Exploit, Third Party Advisory, VDB Entry
References () https://www.darkmatter.ae/xen1thlabs/librenms-command-injection-vulnerability-xl-19-017/ - Exploit, Third Party Advisory () https://www.darkmatter.ae/xen1thlabs/librenms-command-injection-vulnerability-xl-19-017/ - Exploit, Third Party Advisory

Information

Published : 2019-09-09 13:15

Updated : 2024-11-21 04:19


NVD link : CVE-2019-10669

Mitre link : CVE-2019-10669

CVE.ORG link : CVE-2019-10669


JSON object : View

Products Affected

librenms

  • librenms
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')