{"api_version":"1","generated_at":"2026-07-23T08:58:36+00:00","cve":"CVE-2018-20434","urls":{"html":"https://cve.report/CVE-2018-20434","api":"https://cve.report/api/cve/CVE-2018-20434.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-20434","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-20434"},"summary":{"title":"CVE-2018-20434","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2019-04-24 21:29:00","updated_at":"2019-06-04 23:29:00"},"problem_types":["CWE-78"],"metrics":[],"references":[{"url":"https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing","name":"https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing","refsource":"MISC","tags":["Permissions Required","Third Party Advisory"],"title":"Google Drive: Sign-in","mime":"text/html","httpstatus":"429","archivestatus":"200"},{"url":"http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html","name":"http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html","refsource":"MISC","tags":[],"title":"LibreNMS addhost Command Injection ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d","name":"https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"librenms-exploit.py · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html","name":"http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html","refsource":"MISC","tags":[],"title":"LibreNMS 1.46 addhost Remote Code Execution ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/","name":"https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/","refsource":"MISC","tags":["Exploit","Technical Description","Third Party Advisory"],"title":"LibreNMS v1.46 Remote Code Execution (CVE-2018-20434) - Shells.Systems","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-20434","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20434","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"20434","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"librenms","cpe5":"librenms","cpe6":"1.46","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"20434","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"librenms","cpe5":"librenms","cpe6":"1.46","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-20434","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d","refsource":"MISC","name":"https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d"},{"url":"https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing","refsource":"MISC","name":"https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing"},{"url":"https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/","refsource":"MISC","name":"https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html","url":"http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html","url":"http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html"}]}},"nvd":{"publishedDate":"2019-04-24 21:29:00","lastModifiedDate":"2019-06-04 23:29:00","problem_types":["CWE-78"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":10},"severity":"HIGH","exploitabilityScore":10,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:librenms:librenms:1.46:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"20434","Ordinal":"140782","Title":"CVE-2018-20434","CVE":"CVE-2018-20434","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"20434","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"20434","Ordinal":"2","NoteData":"2019-04-24","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"20434","Ordinal":"3","NoteData":"2019-06-28","Type":"Other","Title":"Modified"}]}}}