{"uuid": "fbaa6250-5b1a-4b7d-9241-51972c1e5d91", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2021-37343", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/nagios_xi_autodiscovery_webshell.rb", "content": "{\"aliases\": [], \"arch\": \"cmd, x86, x64\", \"author\": [\"Claroty Team82\", \"jbaines-r7\"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"This module exploits a path traversal issue in Nagios XI before version 5.8.5 (CVE-2021-37343).\\n          The path traversal allows a remote and authenticated administrator to upload a PHP web shell\\n          and execute code as `www-data`. The module achieves this by creating an autodiscovery job\\n          with an `id` field containing a path traversal to a writable and remotely accessible directory,\\n          and `custom_ports` field containing the web shell. A cron file will be created using the chosen\\n          path and file name, and the web shell is embedded in the file.\\n\\n          After the web shell has been written to the victim, this module will then use the web shell to\\n          establish a Meterpreter session or a reverse shell. By default, the web shell is deleted by\\n          the module, and the autodiscovery job is removed as well.\", \"disclosure_date\": \"2021-07-15\", \"fullname\": \"exploit/linux/http/nagios_xi_autodiscovery_webshell\", \"is_install_path\": true, \"mod_time\": \"2025-12-17 17:11:13 +0000\", \"name\": \"Nagios XI Autodiscovery Webshell Upload\", \"needs_cleanup\": true, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"ioc-in-logs\", \"artifacts-on-disk\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/linux/http/nagios_xi_autodiscovery_webshell.rb\", \"platform\": \"Linux,Unix\", \"post_auth\": true, \"rank\": 600, \"ref_name\": \"linux/http/nagios_xi_autodiscovery_webshell\", \"references\": [\"CVE-2021-37343\", \"URL-https://claroty.com/2021/09/21/blog-research-securing-network-management-systems-nagios-xi/\"], \"rport\": 443, \"session_types\": false, \"targets\": [\"Unix Command\", \"Linux Dropper\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:48:45.404158Z"}