Vulnerability Description
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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Librenms | Librenms | 1.46 |
Related Weaknesses (CWE)
References
- http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.h
- http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Ex
- https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=shariPermissions RequiredThird Party Advisory
- https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372dExploitThird Party Advisory
- https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/ExploitTechnical DescriptionThird Party Advisory
- http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.h
- http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Ex
- https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=shariPermissions RequiredThird Party Advisory
- https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372dExploitThird Party Advisory
- https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/ExploitTechnical DescriptionThird Party Advisory
FAQ
What is CVE-2018-20434?
CVE-2018-20434 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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...
How severe is CVE-2018-20434?
CVE-2018-20434 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2018-20434?
Check the references section above for vendor advisories and patch information. Affected products include: Librenms Librenms.