SecPod

Learn Search

Search across all Learn content

← Back to Security Research
FortiWeb at Risk: Unauthenticated Attackers Gaining Full WAF Control via Admin Creation

FortiWeb at Risk: Unauthenticated Attackers Gaining Full WAF Control via Admin Creation

A critical authentication bypass vulnerability in Fortinet’s FortiWeb web application firewalls (WAF), identified as CVE-2025-64446 with a CVSS score of 9.8, is being actively and indiscriminately exploited in the wild. The flaw allows unauthenticated attackers to execute administrative commands and...

Nov 16, 2025By Santosh Sethuraman5 min read

A critical authentication bypass vulnerability in Fortinet’s FortiWeb web application firewalls (WAF), identified as CVE-2025-64446 with a CVSS score of 9.8, is being actively and indiscriminately exploited in the wild. The flaw allows unauthenticated attackers to execute administrative commands and gain complete control of affected devices. Fortinet has released patches to address the issue, but exploitation was observed in the wild for over a month before a CVE was assigned, giving threat actors a significant head start.

Root Cause

The vulnerability is a path traversal issue within the FortiWeb appliance. It stems from a combination of two flaws: a path traversal bug that allows access to the fwbcgi executable and an authentication bypass exploited by manipulating the CGIINFO HTTP header to impersonate an existing administrator. By sending a specially crafted HTTP POST request to a vulnerable endpoint, an attacker can instruct the fwbcgi binary to grant them administrative privileges, as the application fails to properly validate user-supplied input used for file paths.

Proof of Concept (PoC)

Security researchers not only reproduced the vulnerability but also published a detailed analysis and a proof-of-concept (PoC) script, demonstrating the ease of exploitation. The exploit works by sending a carefully crafted HTTP POST request to a specific, non-standard API endpoint: /api/v2.0/cmdb/system/admin%3f/../../../../../cgi-bin/fwbcgi. The path traversal component (/../../../../../) allows the request to break out of the intended directory and access the sensitive fwbcgi CGI binary. The authentication bypass is achieved by including a custom HTTP header named CGIINFO. This header contains a Base64-encoded JSON payload that tells the application to process the request as if it were initiated by a legitimate, authenticated administrator, typically the default “admin” account. When run against a target, it generates a random username and password, crafts the malicious POST request with the forged CGIINFO header, and sends it to the vulnerable endpoint, resulting in the creation of a new administrator account on the device. In-the-wild attacks have been observed creating admin accounts with usernames such as Testpoint, trader1, and test1234point as a persistence mechanism.

Tactics, Techniques, and Procedures (TTPs)

The exploitation of this vulnerability aligns with several tactics and techniques:

Tactic IDTactic NameTechnique IDTechnique NameDescription
TA0001Initial AccessT1190Exploit Public-Facing ApplicationThe vulnerability exists in an internet-facing security appliance, providing attackers with a direct entry point into the network.
TA0004Privilege EscalationT1068Exploitation for Privilege EscalationThe exploit itself elevates the unauthenticated attacker’s privileges to the highest level (administrator) on the compromised device.
TA0003PersistenceT1078Valid AccountsBy creating new administrator accounts, attackers ensure they retain access to the system even if the original vulnerability is discovered and patched.
TA0005Defense EvasionT1556Modify Authentication ProcessThe core of the exploit involves bypassing the WAF’s standard authentication procedures by forging header information to impersonate a trusted user.

Impact and Exploit Potential

The successful exploitation of this vulnerability has critical consequences, allowing an unauthenticated attacker to completely compromise an affected device. This grants them the ability to bypass all authentication mechanisms and execute arbitrary commands with the highest administrative privileges. Attackers have been observed creating new administrator accounts to establish a persistent foothold, gaining unauthorized access to sensitive data and the broader network. Furthermore, a compromised firewall can be reconfigured to alter or disable security policies, effectively neutralizing the WAF and leaving web applications exposed. The compromised device can also be used as a pivot point for launching further attacks and moving laterally within the internal network. Recognizing the severity, the U.S. Cybersecurity and Infrastructure Security Agency (CISA) has added CVE-2025-64446 to its Known Exploited Vulnerabilities (KEV) catalog, compelling federal agencies to apply patches swiftly.

Affected Products

The vulnerability impacts multiple versions of FortiWeb. The following versions are confirmed to be affected:

  • FortiWeb 8.0.0 through 8.0.1
  • FortiWeb 7.6.0 through 7.6.4
  • FortiWeb 7.4.0 through 7.4.9
  • FortiWeb 7.2.0 through 7.2.11
  • FortiWeb 7.0.0 through 7.0.11

Mitigation and Recommendations

Fortinet has released patches and urges customers to upgrade to the latest versions immediately:

  • FortiWeb 8.0.2 or above
  • FortiWeb 7.6.5 or above
  • FortiWeb 7.4.10 or above
  • FortiWeb 7.2.12 or above
  • FortiWeb 7.0.12 or above

Given the active exploitation, organizations should also:

  • Investigate for Compromise: Thoroughly examine FortiWeb systems for signs of unauthorized activity, including the creation of new or unexpected administrator accounts.
  • Monitor Network Traffic: Check logs for suspicious HTTP POST requests to the vulnerable endpoint.
  • Restrict Access: As a temporary workaround until patching is complete, disable HTTP/HTTPS access to internet-facing interfaces. However, upgrading remains the only complete solution.
  • Implement Network Segmentation: Limit the potential impact of a compromise by segmenting the network and implementing strong access controls.

Instantly Fix Risks with Saner Patch Management

Saner patch management is a continuous, automated, and integrated software that instantly fixes risks exploited in the wild. The software supports major operating systems like Windows, Linux, and macOS, as well as 550+ third-party applications.

It also allows you to set up a safe testing area to test patches before deploying them in a primary production environment. Saner patch management additionally supports a patch rollback feature in case of patch failure or a system malfunction.

Experience the fastest and most accurate patching software here.

Featured Posts

Open GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation
GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation

CVE Research

GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation

The GT13 campaign targeted at least 22 organizations worldwide by exploiting vulnerabilities in exposed services and Check Point Security Management Servers. The attackers used forged authentication sessions, SSH-based persistence, internal reconnaissance, lateral movement, and data exfiltration techniques to compromise systems and access sensitive information.

Nov 26, 2026

Open GeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution
vulnerability researchGeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution

CVE Research

GeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution

Six vulnerabilities in GeoServer’s November 2026 security update can expose sensitive files, bypass service authorization, and enable administrator impersonation. Several of these flaws can be chained for unauthenticated remote code execution with the permissions of the GeoServer process. CVE-2026-120705 and CVE-2026-129243 have been reported as exploited. Fixed releases include GeoServer 3.0.2, 2.28.6, and 2.27.7. This article covers the flaws, the public five-CVE chain, impact, affected versions, and remediation guidance.

Nov 26, 2026

Open Critical Security Flaws in Microsoft Office, Erlang/OTP and Mozilla Thunderbird: November 25, 2026
Critical Security Flaws in Microsoft Office, Erlang/OTP and Mozilla Thunderbird: November 25, 2026

CVE Research

Critical Security Flaws in Microsoft Office, Erlang/OTP and Mozilla Thunderbird: November 25, 2026

Critical security flaws disclosed in November 2026 affect Microsoft Office, Erlang/OTP, and Mozilla Thunderbird. Explore CVE-2026-112732, CVE-2026-124286, and CVE-2026-136226, including remote code execution, TLS server impersonation, email spoofing risks, affected versions, and fixes.

Nov 25, 2026

Open Critical Vulnerabilities, November 23, 2026: Ruby2Shell in GitLab CE/EE and Seven rclone Flaws
vulnerability researchCritical Vulnerabilities, November 23, 2026: Ruby2Shell in GitLab CE/EE and Seven rclone Flaws

CVE Research

Critical Vulnerabilities, November 23, 2026: Ruby2Shell in GitLab CE/EE and Seven rclone Flaws

Nov 24, 2026