{"id":"GHSA-62q7-qj6g-gvr7","aliases":["CVE-2018-20434"],"title":"LibreNMS arbitrary OS commands execution","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.","severity":"critical","score":9.8,"published":"2022-05-24T16:44:30.000Z","modified":"2024-04-24T22:28:31.669Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"librenms/librenms","ranges":[],"versions":["1.46"],"fixed":[]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2018-20434","https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing","https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d","https://github.com/librenms/librenms","https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434"],"sources":[{"name":"OSV","id":"GHSA-62q7-qj6g-gvr7","modified":"2024-04-24T22:28:31.669474Z","url":"https://osv.dev/vulnerability/GHSA-62q7-qj6g-gvr7"}],"assessments":[{"source":"OSV","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8}]}