{"id":8653,"date":"2025-11-22T10:03:33","date_gmt":"2025-11-22T10:03:33","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2025\/11\/22\/metasploit-adds-exploit-module-for-recently-disclosed-fortiweb-0-day-vulnerabilities\/"},"modified":"2025-11-22T10:03:33","modified_gmt":"2025-11-22T10:03:33","slug":"metasploit-adds-exploit-module-for-recently-disclosed-fortiweb-0-day-vulnerabilities","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2025\/11\/22\/metasploit-adds-exploit-module-for-recently-disclosed-fortiweb-0-day-vulnerabilities\/","title":{"rendered":"Metasploit Adds Exploit Module for Recently Disclosed FortiWeb 0-Day Vulnerabilities"},"content":{"rendered":"<p>    Metasploit Adds Exploit Module for Recently Disclosed FortiWeb 0-Day Vulnerabilities<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p>The Metasploit Framework has introduced a new exploit module targeting critical vulnerabilities in Fortinet\u2019s FortiWeb Web Application Firewall (WAF).<\/p>\n<p><span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\">This module chains two recently disclosed flaws,\u00a0<a href=\"https:\/\/cybersecuritynews.com\/fortiweb-waf-flaw-exploited-in-the-wild\/\" target=\"_blank\" rel=\"noopener\">CVE-2025-64446<\/a>\u00a0and\u00a0<a href=\"https:\/\/cybersecuritynews.com\/fortiweb-0-day-code-execution-vulnerability\/\" target=\"_blank\" rel=\"noopener\">CVE-2025-58034,<\/a>\u00a0to achieve unauthenticated Remote Code Execution (RCE) with root privileges.<\/span><\/p>\n<p>The release follows reports of active exploitation in the wild, including \u201csilent patches\u201d and subsequent bypasses that have left many appliances exposed.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-the-exploitation-chain\"><strong>The Exploitation Chain<\/strong><\/h2>\n<p>The new module, identified as exploit\/linux\/http\/fortinet_fortiweb_rce, automates a sophisticated attack chain that bypasses authentication mechanisms before executing arbitrary operating system commands.<\/p>\n<p>The attack begins with CVE-2025-64446, a critical authentication bypass vulnerability with a CVSS score of 9.1. As analyzed by researchers at watchTowr, this flaw involves a path traversal issue combined with improper handling of the CGIINFO header. <\/p>\n<p>By manipulating this header and traversing to the fwbcgi executable, an unauthenticated attacker can impersonate the built-in admin user and create a new administrative account without valid credentials.<\/p>\n<p>Once administrative access is established, the module leverages <a href=\"https:\/\/cybersecuritynews.com\/fortiweb-0-day-code-execution-vulnerability\/\" target=\"_blank\" rel=\"noreferrer noopener\">CVE-2025-58034<\/a> to compromise the underlying system. This second vulnerability is an authenticated command injection flaw found in the FortiWeb API and CLI, where special elements in OS commands are not properly neutralized.<\/p>\n<p>Rapid7 analysis confirms that this flaw allows an authenticated user to escape the intended shell restrictions and execute commands as the root user. By chaining these two issues, the Metasploit module allows an external attacker to go from zero access to full system control in seconds.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-metasploit-module\"><strong>Metasploit Module<\/strong><\/h2>\n<p>The Metasploit module is designed to be flexible across different attack scenarios. In its default mode, it automatically exploits the authentication bypass (CVE-2025-64446) to provision a random administrator account.<\/p>\n<p>It then authenticates with these new credentials to trigger the command injection. Alternatively, if an attacker already possesses valid credentials, the module can be configured to skip the bypass phase and directly exploit <a href=\"https:\/\/cybersecuritynews.com\/fortiweb-0-day-code-execution-vulnerability\/\" target=\"_blank\" rel=\"noreferrer noopener\">CVE-2025-58034<\/a>.<\/p>\n<p>Technically, the exploit utilizes a chunked upload mechanism to deliver its payload. As seen in the pull request documentation, the module uploads a \u201cbootstrap payload\u201d in multiple parts (e.g., 4 chunks) before amalgamating and executing them.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEgXL_s2qZ0Hh_RxA_SQ33J1gbOerjBe6O1ScsoKJ2CoH3z-aVqGOJZDeYNUnaTMtAslh4nfy29mF3_oFGEqPPih3BFH3fhwJ-i2MXs9TkZ-gdjiWElhsOz9jR2FMaNgW-CNuIXRipsEDt9os719u6OFvCSF9Bn4C6Og96R83jIiJ92MvoJ1qwyZMx3duY7o\/w640-h610\/Metasploit%2520Module.webp?ssl=1\" alt=\"\"><\/figure>\n<\/div>\n<p>This method ensures reliable execution even within the constrained environment of the appliance. Successful exploitation grants a shell with uid=0(root), giving the attacker complete control over the WAF device.<\/p>\n<p>Fortinet has released patches to address these vulnerabilities, and users are strongly advised to upgrade to FortiWeb version 8.0.2 or later immediately.<\/p>\n<p>Because <a href=\"https:\/\/cybersecuritynews.com\/fortiweb-waf-vulnerability-exploited-in-the-wild\/\" target=\"_blank\" rel=\"noreferrer noopener\">CVE-2025-64446<\/a> allows for the silent creation of rogue administrators, simply patching is insufficient for potentially compromised devices. Security teams should audit their user lists for unknown accounts and review logs for requests to \/api\/v2.0\/cmdb\/system\/admin originating from untrusted IP addresses.<\/p>\n<figure class=\"wp-block-table\">\n<table class=\"has-fixed-layout\">\n<thead>\n<tr>\n<th>CVE ID<\/th>\n<th>Vulnerability Type<\/th>\n<th>CVSS<\/th>\n<th>Affected Products (Partial List)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>CVE-2025-64446<\/strong><\/td>\n<td>Auth Bypass \/ Path Traversal<\/td>\n<td>9.1<\/td>\n<td>FortiWeb 7.4.0-7.4.4, 7.6.0-7.6.4, 8.0.0-8.0.1<\/td>\n<\/tr>\n<tr>\n<td><strong>CVE-2025-58034<\/strong><\/td>\n<td>OS Command Injection<\/td>\n<td>7.2<\/td>\n<td>FortiWeb 8.0.0-8.0.1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p class=\"has-text-align-center has-background\" style=\"background:linear-gradient(180deg,rgb(238,238,238) 94%,rgb(169,184,195) 100%)\"><strong>Follow us on <a href=\"https:\/\/news.google.com\/publications\/CAAqMggKIixDQklTR3dnTWFoY0tGV041WW1WeWMyVmpkWEpwZEhsdVpYZHpMbU52YlNnQVAB?hl=en-IN&amp;gl=IN&amp;ceid=IN:en\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Google News<\/a>, <a href=\"https:\/\/www.linkedin.com\/company\/cybersecurity-news\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">LinkedIn<\/a>, and <a href=\"https:\/\/x.com\/cyber_press_org\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">X<\/a> for daily cybersecurity updates. <a href=\"https:\/\/cybersecuritynews.com\/contact-us\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Contact us<\/a> to feature your stories.<\/strong><\/p>\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/metasploit-module-fortiweb-0-day\/\">Metasploit Adds Exploit Module for Recently Disclosed FortiWeb 0-Day Vulnerabilities<\/a> appeared first on <a href=\"https:\/\/cybersecuritynews.com\/\">Cyber Security News<\/a>.<\/p>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    Guru Baran<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/cybersecuritynews.com\/metasploit-module-fortiweb-0-day\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Metasploit Adds Exploit Module for Recently Disclosed FortiWeb 0-Day Vulnerabilities The Metasploit Framework has introduced a new exploit module targeting critical vulnerabilities in Fortinet\u2019s FortiWeb Web Application Firewall (WAF). This module chains two recently disclosed flaws,\u00a0CVE-2025-64446\u00a0and\u00a0CVE-2025-58034,\u00a0to achieve unauthenticated Remote Code Execution (RCE) with root privileges. The release follows reports of active exploitation in the wild, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,63,648],"tags":[130],"class_list":["post-8653","post","type-post","status-publish","format-standard","hentry","category-cyber-security","category-cyber-security-news","category-vulnerability-news","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/8653"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=8653"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/8653\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=8653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=8653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=8653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}