CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2018 · Librenms

CVE-2018-20434
Librenms vulnerability

LibreNMS 1.46 allows remote attackers to execute arbitrary OS commands by using the $_POST['community'] parameter to html/pages/addhost.inc.php during creation of a new device, and then making a /ajax_output.php?id=capture&format=text&type=snmpwalk&hostname=localhost request that triggers html/includes/output/capture.inc.php command mishandling.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

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.