{"id":"CVE-2018-20434","state":"PUBLISHED","title":"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","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.","publishedAt":"2019-04-24T20:05:43.000Z","updatedAt":"2024-08-05T11:58:19.369Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d","https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing","https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/","http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html","http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:44:39.424Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/20xxx/CVE-2018-20434.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-20434","state":"PUBLISHED","datePublished":"2019-04-24T20:05:43.000Z","dateUpdated":"2024-08-05T11:58:19.369Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2018-12-24T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d","tags":["x_refsource_MISC"]},{"url":"https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing","tags":["x_refsource_MISC"]},{"url":"https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-06-28T16:06:06.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2019-01-06T00:00:00.000Z","x_legacyV4Record":{"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":[{"name":"https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d","refsource":"MISC","url":"https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d"},{"name":"https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing","refsource":"MISC","url":"https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing"},{"name":"https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/","refsource":"MISC","url":"https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/"},{"name":"http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html"},{"name":"http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T11:58:19.369Z"}}]}}}