CVE-2025-64446 — Fortinet FortiWeb Path Traversal Vulnerability

CVE-2025-64446

Fortinet FortiWeb — Pre-Auth Path Traversal to Admin RCE; Mass Exploitation Since July 2025

What is Fortinet FortiWeb?

Fortinet FortiWeb is a Web Application Firewall (WAF) appliance used by enterprises and government agencies to protect web applications from attacks. As a security gateway positioned in front of web applications, FortiWeb inspects HTTP/HTTPS traffic, blocks malicious requests, and enforces security policies. Ironically, FortiWeb appliances themselves are attractive targets: they sit at the network perimeter, are publicly internet-facing by design, carry administrative credentials, and their compromise can give attackers visibility into the protected web application traffic while also removing a key security layer.

Overview

CVE-2025-64446 is a critical relative path traversal vulnerability (CWE-23) in Fortinet FortiWeb's GUI API handler. An unauthenticated remote attacker sends a crafted HTTP or HTTPS request containing path traversal sequences that bypass the intended API routing, reaching privileged administrative endpoints without authentication. Successful exploitation allows execution of arbitrary OS-level administrative commands. Fortinet confirmed this was a zero-day — actively exploited in the wild before the advisory was published. Mass exploitation activity was observed as early as July 2025, approximately four months before the patch. CISA issued a rare 7-day remediation deadline (normally 3 weeks), reflecting the severity and ongoing exploitation.

Affected Versions

Branch Vulnerable Fixed
FortiWeb 7.0.x 7.0.0 – 7.0.11 7.0.12
FortiWeb 7.2.x 7.2.0 – 7.2.11 7.2.12
FortiWeb 7.4.x 7.4.0 – 7.4.9 7.4.10
FortiWeb 7.6.x 7.6.0 – 7.6.4 7.6.5
FortiWeb 8.0.x 8.0.0 – 8.0.1 8.0.2

Technical Details

The vulnerability (CWE-23: Relative Path Traversal) is in FortiWeb's GUI API HTTP request routing. The API handler fails to properly validate or sanitize URL path components before resolving the endpoint. By inserting path traversal sequences (e.g., /../) into the request URL, an attacker can break out of the intended /api/v2.0/ routing context and reach privileged administrative API endpoints that should require authentication.

Once an unauthorized attacker reaches the administrative API, they can execute OS-level admin commands on the FortiWeb appliance — effectively gaining full control of the device. In observed exploitation, attackers created rogue administrator accounts (with names such as "Testpoint," "trader," and "trader1" and easily-guessable passwords) to establish persistent access for subsequent operations.

Discovery

Discovered by Defused Cyber. Bishop Fox and Watchtowr Labs published independent technical analyses.

Exploitation Context

Fortinet confirmed active in-the-wild exploitation before the advisory was published — a zero-day. CERT Orange Cyberdefense reported mass exploitation observed as early as July 2025, approximately four months before the patch was available. Observed post-exploitation behavior: creation of rogue administrator accounts to maintain persistent access, and lateral movement into protected web application environments. CISA issued a 7-day federal remediation deadline (vs. the standard 3 weeks), underscoring the severity. No specific threat actor group has been publicly attributed, but the early and sustained exploitation suggests organized, sophisticated attackers.

Remediation

  1. Upgrade FortiWeb immediately to the fixed version for your branch: 7.0.12+, 7.2.12+, 7.4.10+, 7.6.5+, or 8.0.2+.
  2. Check for rogue admin accounts immediately: log in to the FortiWeb admin console and review all administrator accounts. Remove any unauthorized accounts (particularly those named "Testpoint," "trader," or similar).
  3. Review audit logs for unauthorized API calls, particularly requests to administrative endpoints not matching expected management traffic patterns.
  4. Restrict management interface access — FortiWeb's admin GUI and API should never be internet-accessible. Apply firewall rules to limit HTTPS management access to trusted administrative IP ranges only.
  5. Rotate all FortiWeb admin credentials — if exploitation is suspected, change all administrator passwords and API keys.
  6. Audit protected applications — if FortiWeb was compromised, the attacker had visibility into all proxied web application traffic; review downstream applications for signs of breach.

Key Details

PropertyValue
CVE ID CVE-2025-64446
Vendor / Product Fortinet — FortiWeb
NVD Published2025-11-14
NVD Last Modified2025-11-21
CVSS 3.1 Score9.8
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SeverityCRITICAL
CWE CWE-23 find similar ↗
CISA KEV Added2025-11-14
CISA KEV Deadline2025-11-21
Known Ransomware Use No

CVSS 3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2025-11-21. Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Timeline

DateEvent
2025-07-01Mass exploitation of this zero-day begins (CERT Orange Cyberdefense)
2025-11-14Fortinet publishes advisory FG-IR-25-910; CVE published; CISA adds to KEV catalog with 7-day deadline
2025-11-21CISA BOD 22-01 remediation deadline (accelerated 7-day timeline)