{"id":"GHSA-62q7-qj6g-gvr7","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.","aliases":["CVE-2018-20434"],"modified":"2024-04-24T22:28:31.669474Z","published":"2022-05-24T16:44:30Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-04-24T22:10:15Z","nvd_published_at":"2019-04-24T21:29:00Z","cwe_ids":["CWE-78"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20434"},{"type":"WEB","url":"https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing"},{"type":"WEB","url":"https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d"},{"type":"PACKAGE","url":"https://github.com/librenms/librenms"},{"type":"WEB","url":"https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434"}],"affected":[{"package":{"name":"librenms/librenms","ecosystem":"Packagist","purl":"pkg:composer/librenms/librenms"},"versions":["1.46"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-62q7-qj6g-gvr7/GHSA-62q7-qj6g-gvr7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}