PT-2019-11982 · Librenms · Librenms

Published

2019-09-09

·

Updated

2020-08-24

·

CVE-2019-10669

CVSS v3.1

7.2

High

VectorAV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions LibreNMS versions prior to 1.48
Description A command injection issue exists due to improper filtering of user-supplied parameters in the html/includes/graphs/device/collectd.inc.php file. The mysqli escape real string function is used, which does not escape certain command line syntax characters, such as the backtick (). This allows an attacker to inject commands into the $rrd cmdvariable, which is executed via thepassthru()` function.
Recommendations For LibreNMS versions prior to 1.48, update to version 1.48 or later to resolve the issue. As a temporary workaround, consider restricting access to the collectd.inc.php file to minimize the risk of exploitation. Avoid using the $rrd cmd variable in the affected API endpoint until the issue is resolved.

Exploit

Fix

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2019-10669

Affected Products

Librenms