Patchfirst
CVE-2018-20434 Public exploit EPSS 71.5%

LibreNMS 1.46 allows remote attackers to execute arbitrary OS commands by using the $_POST['community'] parameter to…

No fixed version listed yet.Check the vendor advisory. References ↓

Summary

The flaw is an OS command injection in LibreNMS 1.46, where the $_POST['community'] parameter handled by html/pages/addhost.inc.php is not sanitised when a new device is created. The injected input is later executed when html/includes/output/capture.inc.php mishandles the command during a subsequent ajax_output.php snmpwalk capture request.

Official description · CVE.org

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.

Breakdown
24.9 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (Metasploit) was available 4 months before disclosure.

  1. Public exploit codeMetasploit4 mo before
  2. Disclosedday 0

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: librenms/librenms.

Packagistlibrenms/librenmsGHSA-62q7-qj6g-gvr7

No fixed version published. Check the advisory or remove the package.

The advisory lists this package without version ranges.

Check your lockfile against all CVEs

References

5 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close