First published: Wed Apr 24 2019(Updated: )
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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
composer/librenms/librenms | =1.46 | |
LibreNMS | =1.46 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-20434 is a vulnerability in LibreNMS 1.46 that allows remote attackers to execute arbitrary OS commands.
CVE-2018-20434 works by using the $_POST['community'] parameter to execute arbitrary OS commands during the creation of a new device in LibreNMS 1.46.
The severity of CVE-2018-20434 is critical with a CVSS score of 9.8.
To fix CVE-2018-20434, you should upgrade to a version of LibreNMS that is not affected by this vulnerability.
Yes, you can find references for CVE-2018-20434 at the following links: http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html, http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html, and https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing.