← All articles Best Practices

CVE-2025-64446 FortiWeb Auth Bypass: Detection Engineering Deep Dive

By Ammar Khan, CEH · October 26, 2026 · CybernytronX Research
CVE-2025-64446 FortiWeb Auth Bypass: Detection Engineering Deep Dive

Fortinet's PSIRT issued FG-IR-25-910 in late 2025 for CVE-2025-64446, an authentication bypass in FortiWeb, the vendor's web application firewall. The flaw lets an unauthenticated remote attacker reach administrative functionality that should require credentials — and because FortiWeb sits inline in front of production applications, a compromised appliance is not an isolated incident. This article skips the news recap and goes straight to detection engineering: how the bypass works at the request layer, which FortiWeb builds are exposed, what MITRE ATT&CK techniques map to post-exploitation, and a working Sigma rule plus Suricata signature your SOC can deploy today. You will also get a concrete patch-and-verify checklist and the reasoning behind each control.

What CVE-2025-64446 actually is

CVE-2025-64446 is a missing-authentication / improper-access-control vulnerability in FortiWeb's administrative interface that allows an unauthenticated attacker to perform actions reserved for authenticated administrators. Fortinet assigned it in its FG-IR-25-910 advisory, published in November 2025, and rated it Critical on the CVSS v3.1 scale. The NVD entry confirms the CWE classification and the affected product families.

The practical consequence for defenders is that the usual "is my WAF compromised?" indicators — a valid admin login, a session cookie, a successful MFA prompt — are absent. The attacker never authenticates. Requests arrive at administrative endpoints and are processed as if they carried a valid session. That means log-based detection cannot rely on subtype="user" action="login" events; it has to look at the shape of the HTTP request and the anomalous administrative actions that follow.

Fortinet's advisory states the issue is exploitable remotely and requires no authentication, and that FortiWeb appliances exposed to the internet on their management interface are the primary risk surface. See FG-IR-25-910.

This is the same class of failure that made CVE-2018-13379 (FortiOS SSL-VPN path traversal) and the Citrix ADC and SonicWall VPN bypasses so damaging: a management plane reachable from the internet, and a code path that trusts the request before it trusts the caller.

Affected versions and exposure

Fortinet's advisory enumerates specific FortiWeb branches. Rather than reprint a version table that can drift, treat the advisory as the source of truth and check your build against it directly.

Exposure is not just "do you own a FortiWeb." It is "is the administrative GUI reachable from an untrusted network." Fortinet's own hardening guidance has said for years that the management interface should be bound to a dedicated management VLAN or restricted by trusthost entries. Appliances where that was never done are the ones showing up in scan data.

Verify your build with:

get system status | grep -i version
get system interface | grep -i allowaccess

If allowaccess on the management port includes https or http and the interface is internet-facing, you are in the exposure window regardless of patch state until you also restrict access.

Attacker TTPs

Public reporting and vendor telemetry point to a consistent sequence. Mapped to MITRE ATT&CK:

The pivot behavior (T1090) is the reason this CVE deserves more attention than a typical WAF bug. If the appliance is trusted by your backend applications — via mTLS, IP allowlisting, or header injection — an attacker on the appliance inherits that trust.

Detection: Sigma rule for FortiWeb administrative bypass

FortiWeb logs administrative actions under subtype="admin" in the standard FortiGate-style log format. The rule below fires when an administrative action is recorded without a preceding authenticated session, which is the observable signature of a bypass. It assumes you are shipping FortiWeb logs to a SIEM via syslog or FortiAnalyzer.

title: FortiWeb Administrative Action Without Authenticated Session
description: Detects administrative actions on FortiWeb that lack a corresponding successful login, consistent with CVE-2025-64446 exploitation.
status: experimental
author: CybernytronX
logsource:
  product: fortinet
  service: fortigate
  definition: FortiWeb appliance logs forwarded via syslog or FortiAnalyzer
detection:
  selection_admin_action:
    subtype: admin
    action:
      - 'Edit'
      - 'Add'
      - 'Delete'
      - 'Config'
  filter_login:
    action: 'Login'
    status: 'success'
  condition: selection_admin_action and not filter_login
timeframe: 5m
falsepositives:
  - Legitimate API integrations using long-lived tokens (baseline and exclude)
  - FortiManager-driven configuration pushes
level: high
tags:
  - attack.t1190
  - attack.t1078
  - cve.2025.64446

The timeframe and filter_login logic are the important parts. A naive rule that only matches subtype=admin will drown your analysts in FortiManager noise. Pair this Sigma rule with a second, simpler rule that alerts on any new local administrator account creation on FortiWeb — that is a high-fidelity post-exploitation indicator regardless of how the attacker got in.

Detection: Suricata signature for the bypass request

Because the bypass is a request-shape problem, network detection is viable. The Suricata rule below matches requests to FortiWeb administrative endpoints that lack a session cookie — a pattern that legitimate browsers and the FortiWeb GUI itself do not produce. Tune the flow and http.uri fields against your own traffic before deploying.

alert http any any -> $HOME_NET any (msg:"Possible FortiWeb CVE-2025-64446 auth bypass (admin URI without session cookie)"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/v2.0/"; nocase; http.header_names; content:!"Cookie"; nocase; reference:cve,2025-64446; reference:url,www.fortiguard.com/psirt/FG-IR-25-910; classtype:web-application-attack; sid:1004646; rev:1;)

This is deliberately narrow. It will not catch every variant — an attacker can add a junk cookie — but it catches automated scanning and the first wave of opportunistic exploitation, which is where most SOCs get their first signal. For broader coverage, enable Fortinet's own IPS signature for CVE-2025-64446 in your FortiGate IPS profile if you have one upstream of the FortiWeb.

Mitigation and verification

Patching is necessary but not sufficient. Treat this as a three-step control set:

  1. Patch. Upgrade to the fixed build for your branch as listed in FG-IR-25-910. Verify with get system status and confirm the build number matches the advisory, not just the branch.
  2. Restrict management access. Apply trusthost entries to the admin interface, or bind it to a management VLAN. Fortinet's hardening guide and the advisory both call this out. This control alone neutralizes the CVE for appliances where it is applied correctly.
  3. Hunt for persistence. After patching, audit local admin accounts, review config system admin for unknown entries, check for modified server policies, and look for unexpected files under the FortiWeb filesystem. Rotate any credentials that were stored on the appliance.

If you cannot patch immediately, disabling the administrative GUI on internet-facing interfaces and managing the appliance out-of-band is the only defensible interim position. A WAF with an exposed admin plane is a liability, not a control.

Why this matters for defenders

The lesson of CVE-2025-64446 is not that Fortinet shipped a bug — every vendor does. It is that security appliances are frequently deployed with the opposite of the hardening their own documentation recommends. The management plane is the most sensitive surface on the device, and it is the one most often left reachable because "it's just the admin GUI."

For CISOs, the actionable question is not "are we patched?" but "do we have an inventory of every security appliance's management interface and its network exposure?" If the answer requires a spreadsheet and a phone call, you have a gap that will be exploited by the next CVE in this class. Build the inventory, enforce trusthost or management-VLAN policy as a standing configuration baseline, and add the Sigma and Suricata rules above to your detection library so the next bypass is caught in minutes rather than weeks.

Sources

Frequently Asked Questions

Is CVE-2025-64446 being actively exploited in the wild?

Fortinet's advisory and subsequent reporting indicate the flaw is remotely exploitable without authentication, and internet-exposed management interfaces are the primary risk. Check the Fortinet PSIRT page and any CISA advisories for the current exploitation status before making a risk decision; treat exposure as urgent regardless.

Does patching alone fully remediate the risk?

No. Patching closes the bypass, but if an attacker already used it, they may have created a local admin account or dropped a web shell. Post-patch, audit config system admin, review server policies, and rotate credentials stored on the appliance.

Can I detect exploitation without FortiWeb logs?

Yes, partially. The Suricata rule above inspects HTTP requests to administrative URIs that lack a session cookie. Network detection is narrower than log-based detection but catches automated scanning and first-wave exploitation. Pair it with FortiGate IPS signatures for CVE-2025-64446 if you have a FortiGate upstream.

What if my FortiWeb branch is end-of-support?

Fortinet does not backport fixes to EOS branches. The vendor's guidance is to upgrade to a supported train. If upgrade is not immediately possible, remove internet exposure of the management interface and restrict access via trusthost as a compensating control.

How does this compare to the FortiOS SSL-VPN path traversal (CVE-2018-13379)?

Both are pre-authentication flaws in a Fortinet management or VPN plane that is frequently internet-exposed. The mitigation pattern is identical: patch, restrict management access, and hunt for persistence. The difference is that FortiWeb sits inline in front of applications, so a compromised appliance can pivot to backends that trusted it.

Which MITRE ATT&CK techniques should I prioritize in my detection coverage?

T1190 for the initial exploit, T1078 for the creation of valid local admin accounts, and T1505.003 for web shell deployment. These three cover the majority of post-exploitation activity observed in public reporting on FortiWeb compromises.

Need expert help with this?

If you are running FortiWeb or any inline security appliance and cannot confidently answer "where is the management plane exposed and who can reach it," that gap is worth closing before the next CVE lands. CybernytronX performs appliance-hardening assessments, detection-engineering reviews, and SOC build-outs, and our Ethereon platform correlates appliance telemetry with endpoint and identity signals to surface post-exploitation activity that log-only rules miss. Reach us at cybernytronx.com/contact.html or explore Ethereon.

AK

Ammar Khan — Founder, CybernytronX

Certified Ethical Hacker (CEH), B.S. Cybersecurity, Google Certified. 5+ years pentesting, creator of Ethereon AI threat detection. Has remediated 50+ environments and recovered 20+ compromised domains. Hire CybernytronX →

← Back to all articles