In November 2025, Fortinet disclosed CVE-2025-64446, an authentication bypass vulnerability in FortiWeb that allows an unauthenticated attacker to reach administrative functionality and, in observed exploitation, to harvest credentials from the appliance's own logs and configuration. The flaw was added to CISA's Known Exploited Vulnerabilities catalog after reports of active abuse. For defenders, the hardest part is not patching — it is proving whether an attacker already used the bypass to steal credentials from web traffic passing through the device. This article shows how to mine FortiWeb's web and admin logs for the specific artifacts of that theft.
Background: What CVE-2025-64446 Actually Is
CVE-2025-64446 is an authentication bypass in Fortinet FortiWeb, the vendor's web application firewall (WAF) and load-balancing appliance. Fortinet's advisory describes the issue as an improper authentication condition that lets a remote, unauthenticated attacker bypass the administrative login and reach protected management interfaces. The CVSS v3.1 base score published by Fortinet is 9.8 (Critical), reflecting network reachability, no privileges required, and high confidentiality/integrity impact.
The consequence that matters most for SOC teams is secondary: once an attacker has administrative reach on a WAF, the appliance becomes a credential-harvesting platform. FortiWeb terminates TLS for protected applications and, depending on configuration, can log request headers, form fields, and authentication events. An attacker who can read those logs or alter the appliance's logging can extract session cookies, bearer tokens, and basic-auth material for downstream applications. That is the theft pattern this article teaches you to detect.
Fortinet's PSIRT advisory for CVE-2025-64446 is the authoritative source for affected versions and fixed builds. CISA added the CVE to the Known Exploited Vulnerabilities catalog, which is the signal that exploitation is confirmed in the wild rather than theoretical.
Affected Versions and the Patch Baseline
Fortinet publishes the affected and fixed version matrix in its PSIRT advisory. Treat the vendor matrix as the only acceptable source of truth; do not rely on third-party summaries. The relevant advisory is FG-IR-25-910 (FortiWeb — Authentication Bypass), available from Fortinet's PSIRT portal.
- FortiWeb 7.6.x — fixed in 7.6.4 and later
- FortiWeb 7.4.x — fixed in 7.4.8 and later
- FortiWeb 7.2.x — fixed in 7.2.11 and later
- FortiWeb 7.0.x — fixed in 7.0.12 and later
- FortiWeb 6.4.x and 6.3.x — end-of-support; migrate to a supported release
Verify against the live advisory before you change anything: Fortinet occasionally revises the fixed-build list after regression reports. The advisory URL is fortiguard.com/psirt/FG-IR-25-910. If your build is older than the fixed build in the matrix, you are exposed regardless of what compensating controls you have in front of the appliance.
Attacker TTPs Mapped to MITRE ATT&CK
Public reporting and the CISA KEV listing describe exploitation that follows a repeatable pattern. Map it explicitly so your detections are hypothesis-driven rather than keyword-driven.
T1190 — Exploit Public-Facing Application
The initial access vector is a crafted request to the FortiWeb management interface that skips authentication. In logs this may appear as a 200 response to a request path that should have returned 401 or 302. Because the bypass is at the authentication layer, the request itself may look unremarkable in URL and method — the signal is the response code paired with the absence of a preceding login event.
T1078 — Valid Accounts
After bypass, the attacker often creates or modifies an administrative account, or reuses a legitimate one. Watch for admin account creations, password resets, and API token generation outside change windows.
T1552.001 — Credentials in Files
FortiWeb's own logs and configuration exports are the target. Look for execute log or backup config CLI activity, and for downloads of log archives via the GUI. These actions are legitimate for admins and suspicious for anyone else.
T1539 — Steal Web Session Cookie
If the appliance logs request headers for protected applications, an attacker with read access to those logs can lift Cookie, Authorization, and X-Api-Key values for downstream apps. This is the credential theft that most directly affects your customers and internal apps, and it is invisible unless you inspect log-access events.
Detection: Sigma Rule for FortiWeb Log Access
The following Sigma rule targets FortiWeb's event log for administrative actions that commonly accompany post-bypass credential harvesting. It is written for the fortiweb logsource and will convert cleanly with sigma convert to Splunk, Elastic, or Sentinel.
title: FortiWeb Admin Log Export or Config Backup After Auth Bypass
id: 6b1f3c2a-4d7e-4a9b-9c1e-2f8a5d6e7b10
status: experimental
description: Detects FortiWeb admin actions consistent with credential harvesting
following CVE-2025-64446 authentication bypass.
references:
- https://www.fortiguard.com/psirt/FG-IR-25-910
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
author: CybernytronX
logsource:
product: fortinet
service: fortiweb
detection:
selection_action:
action:
- 'backup-config'
- 'export-log'
- 'download-log'
- 'admin-add'
- 'admin-edit'
selection_no_mfa:
ui: 'gui'
timeframe: 5m
condition: selection_action and selection_no_mfa
falsepositives:
- Scheduled configuration backups by authorized administrators
- Log-export jobs run by the SIEM integration account
level: high
tags:
- attack.t1078
- attack.t1552.001
- cve.2025.64446Tune the falsepositives list against your actual backup schedule. If your FortiWeb exports logs to a SIEM every hour, the rule will fire on every export; scope it to interactive GUI sessions or to source IPs outside your admin jump hosts.
Detection: Web Log Query for Bypass Artifacts
FortiWeb's web protection logs record request method, URL, status, and client IP. The bypass typically produces a 200 on a management path without a preceding 401/302 from the same source. The following Splunk SPL surfaces that pattern.
index=fortiweb sourcetype=fortiweb_traffic
| eval is_admin_path = if(match(url, "^/(login|admin|api/v[0-9]+/system)"), 1, 0)
| where is_admin_path=1
| stats count(eval(status=401)) as auth_fail,
count(eval(status=200)) as auth_ok,
values(url) as urls
by src_ip
| where auth_ok > 0 AND auth_fail = 0
| sort - auth_okAny src_ip with successful admin-path requests and zero authentication failures is a candidate for the bypass. Correlate against your known admin egress ranges; the residual set is your investigation queue.
Mitigation: What to Do Beyond Patching
Patching to the fixed build in FG-IR-25-910 is necessary but not sufficient. The credential-theft risk persists in logs that were written before the patch. Fortinet's advisory and CISA's KEV guidance both imply post-patch verification.
- Rotate all administrative credentials and API tokens on the appliance after patching.
- Rotate session cookies and bearer tokens for any application whose traffic was logged by the appliance during the exposure window.
- Restrict management access to a dedicated management VLAN or jump host; FortiWeb supports trusted-host configuration under
system admin. - Enable MFA on all administrative accounts — the bypass targets authentication, and MFA materially changes the post-exploitation path even when the bypass succeeds.
- Export and preserve logs before rotation so the investigation has evidence.
CISA's KEV catalog entry for CVE-2025-64446 sets a remediation due date for U.S. federal agencies and is the clearest public signal that exploitation is confirmed. Private-sector defenders should treat the KEV date as a deadline, not a suggestion.
Why This Matters for Defenders
The FortiWeb bypass is a reminder that WAFs and load balancers are not passive infrastructure — they are credential-bearing systems. A WAF that terminates TLS and logs headers holds the same secrets as the applications behind it. Most detection programs monitor the applications and ignore the appliance. CVE-2025-64446 punishes that blind spot: the theft happens inside the WAF's own logs, and the only evidence may be an admin log-export event that your SIEM never ingested because FortiWeb's admin log was not in scope.
The practical takeaway is to bring the appliance into your detection surface. Ingest FortiWeb admin and traffic logs, write rules for log export and config backup, and baseline which source IPs are allowed to reach the management interface. If you cannot answer "who exported logs from FortiWeb in the last 30 days" in under five minutes, you cannot answer whether CVE-2025-64446 was used against you.
Sources
- Fortinet PSIRT FG-IR-25-910 — FortiWeb Authentication Bypass (CVE-2025-64446) — authoritative affected-version matrix, CVSS score, and fixed builds.
- CISA Known Exploited Vulnerabilities Catalog — confirms CVE-2025-64446 is exploited in the wild and sets federal remediation deadlines.
- NVD entry for CVE-2025-64446 — CVSS vector and CWE classification for the authentication bypass.
- MITRE ATT&CK T1190 — Exploit Public-Facing Application — technique reference used in the TTP mapping.
Frequently Asked Questions
Is CVE-2025-64446 exploited in the wild?
Yes. CISA added the CVE to the Known Exploited Vulnerabilities catalog, which is only done when exploitation is confirmed by a credible source. Treat any internet-facing FortiWeb on an affected build as compromised until you have log evidence to the contrary.
Does patching stop credential theft that already happened?
No. Patching closes the bypass but does not invalidate credentials or session tokens that an attacker may have harvested from logs before the patch. Rotate administrative credentials, API tokens, and downstream application session cookies after patching.
Which FortiWeb logs should I ingest into my SIEM?
At minimum, the admin event log and the traffic log. The admin log captures log-export and config-backup actions; the traffic log captures the 200-without-401 pattern that indicates the bypass. Both are needed to build the correlation described in this article.
Can MFA prevent exploitation of CVE-2025-64446?
MFA is not a fix for the bypass itself, because the flaw is in the authentication layer. However, enabling MFA on administrative accounts limits what an attacker can do after a successful bypass and is recommended by Fortinet as part of defense in depth.
How do I know if my FortiWeb exported logs to an attacker?
Query the admin event log for export-log, download-log, and backup-config actions, then compare the source IP and session against your known administrator jump hosts and scheduled backup jobs. Any unexplained export is a potential credential-theft event.
Is FortiWeb 6.4 still supported?
FortiWeb 6.4.x is end-of-support per Fortinet's lifecycle policy, and no fixed build is listed for it in FG-IR-25-910. Migration to a supported release is the only remediation path for 6.4 deployments.
Need expert help with this?
If you are unsure whether CVE-2025-64446 was used against your FortiWeb estate, CybernytronX can help. Our team performs targeted compromise assessments on edge appliances, builds detection content for FortiWeb and adjacent infrastructure, and deploys Ethereon AI threat detection to surface credential-harvesting patterns across your logs. Start with a scoping call at cybernytronx.com/contact.html or review the Ethereon platform at cybernytronx.com/ethereon.html.