{"uuid": "8fb47e13-586e-45c3-9d34-ae6c587af6e9", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2022-40684", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/fortinet_authentication_bypass_cve_2022_40684.rb", "content": "{\"aliases\": [], \"arch\": \"cmd\", \"author\": [\"Heyder Andrade &lt;@HeyderAndrade&gt;\", \"Zach Hanley &lt;@hacks_zach&gt;\"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"This module exploits an authentication bypass vulnerability\\n          in the Fortinet FortiOS, FortiProxy, and FortiSwitchManager API\\n          to gain access to a chosen account. And then add a SSH key to the\\n          authorized_keys file of the chosen account, allowing\\n          to login to the system with the chosen account.\\n\\n          Successful exploitation results in remote code execution.\", \"disclosure_date\": \"2022-10-10\", \"fullname\": \"exploit/linux/http/fortinet_authentication_bypass_cve_2022_40684\", \"is_install_path\": true, \"mod_time\": \"2026-04-22 11:54:55 +0000\", \"name\": \"Fortinet FortiOS, FortiProxy, and FortiSwitchManager authentication bypass.\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"ioc-in-logs\", \"artifacts-on-disk\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/linux/http/fortinet_authentication_bypass_cve_2022_40684.rb\", \"platform\": \"Linux,Unix\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"linux/http/fortinet_authentication_bypass_cve_2022_40684\", \"references\": [\"CVE-2022-40684\", \"URL-https://www.fortiguard.com/psirt/FG-IR-22-377\", \"URL-https://www.horizon3.ai/fortios-fortiproxy-and-fortiswitchmanager-authentication-bypass-technical-deep-dive-cve-2022-40684\"], \"rport\": 443, \"session_types\": false, \"targets\": [\"FortiOS\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:48:34.241138Z"}