{"id":"CVE-2018-20434","details":"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.","aliases":["GHSA-62q7-qj6g-gvr7"],"modified":"2026-07-08T12:28:44.994106Z","published":"2019-04-24T21:29:00.400Z","references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html"},{"type":"WEB","url":"http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html"},{"type":"REPORT","url":"https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing"},{"type":"EVIDENCE","url":"https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d"},{"type":"EVIDENCE","url":"https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/librenms/librenms","events":[{"introduced":"bd5e692dc778ff7e7e05e5765baa2ad584154589"},{"last_affected":"bd5e692dc778ff7e7e05e5765baa2ad584154589"}],"database_specific":{"cpe":"cpe:2.3:a:librenms:librenms:1.46:*:*:*:*:*:*:*","extracted_events":[{"introduced":"1.46"},{"last_affected":"1.46"}],"source":"CPE_STRING"}}],"versions":["1.46"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20434.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}