CVE-2018-20434
CVE-2018-20434
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.
Affected products
n/a · n/apublic PoCs found — 5
githubgithub.com/mhaskar/CVE-2018-20434★ 9cve_referencepacketstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.htmlunverifiedcve_referencepacketstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.htmlunverifiedexploitdbwww.exploit-db.com/exploits/46970unverifiedexploitdbwww.exploit-db.com/exploits/47044unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Want to know if your infrastructure is exposed to this?
Talk to TrueHacking →References
http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.htmlhttp://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.htmlhttps://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharinghttps://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372dhttps://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/