{"id":"CVE-2018-20434","aliases":["GHSA-62q7-qj6g-gvr7"],"url":"https://o3.security/vulnerability/CVE-2018-20434","summary":"LibreNMS arbitrary OS commands execution","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.","published":"2019-04-24T21:29:00.400Z","modified":"2026-07-08T12:28:44.994106Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.71487,"percentile":0.99385,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":7,"affectedPackages":[{"ecosystem":"Packagist","name":"librenms/librenms","fixedVersion":null}],"fix":null,"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/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T12:28:44.994106Z"}}