CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2019 · Librenms

CVE-2019-10669
Librenms vulnerability

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

Affected products

Librenms. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Librenms runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Librenms products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.