{"uuid": "561f7162-a4d3-466d-8155-903210abdb6d", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2018-20434", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/librenms_addhost_cmd_inject.rb", "content": "{\"aliases\": [], \"arch\": \"cmd\", \"author\": [\"mhaskar\", \"Shelby Pace\"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": false, \"default_credential\": false, \"description\": \"This module exploits a command injection vulnerability in the open source\\n          network management software known as LibreNMS. The community parameter used\\n          in a POST request to the addhost functionality is unsanitized. This parameter\\n          is later used as part of a shell command that gets passed to the popen function\\n          in capture.inc.php, which can result in execution of arbitrary code.\\n\\n          This module requires authentication to LibreNMS first.\", \"disclosure_date\": \"2018-12-16\", \"fullname\": \"exploit/linux/http/librenms_addhost_cmd_inject\", \"is_install_path\": true, \"mod_time\": \"2025-06-23 12:43:46 +0000\", \"name\": \"LibreNMS addhost Command Injection\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"unknown-reliability\"], \"SideEffects\": [\"unknown-side-effects\"], \"Stability\": [\"unknown-stability\"]}, \"path\": \"/modules/exploits/linux/http/librenms_addhost_cmd_inject.rb\", \"platform\": \"Unix\", \"post_auth\": true, \"rank\": 600, \"ref_name\": \"linux/http/librenms_addhost_cmd_inject\", \"references\": [\"CVE-2018-20434\", \"URL-https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/\", \"URL-https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d\"], \"rport\": 80, \"session_types\": false, \"targets\": [\"Linux\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:48:42.736646Z"}