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

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2019-09-09T12:46:12

Updated: 2024-08-04T22:32:01.134Z

Reserved: 2019-03-31T00:00:00

Link: CVE-2019-10669

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2019-09-09T13:15:11.543

Modified: 2020-08-24T17:37:01.140

Link: CVE-2019-10669

cve-icon Redhat

No data.