CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2019 · Librenms

CVE-2019-10666
Librenms vulnerability

An issue was discovered in LibreNMS through 1.47. Several of the scripts perform dynamic script inclusion via the include() function on user supplied input without sanitizing the values by calling basename() or a similar function. An attacker can leverage this to execute PHP code from the included file. Exploitation of these scripts is made difficult by additional text being appended (typically .inc.php), which means an attacker would need to be able to control both a filename and its content on the server. However, exploitation can be achieved as demonstrated by the csv.php?report=../ substring.

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.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

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.