Skip to main content

FortiProxy and FortiOS CVE-2025-25253

HIGH
Improper Validation of Certificate with Host Mismatch (CWE-297)
2025-10-14 psirt@fortinet.com
7.5
CVSS 3.1 · Vendor: fortinet
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain adjacent-network position on ZTNA client path
  2. Delivery
    Intercept TLS handshake to ZTNA proxy
  3. Exploit
    Present mismatched-host certificate
  4. Execution
    Bypass certificate-host validation (CWE-297)
  5. Persist
    Relay and tamper with proxied session
  6. Impact
    Capture credentials and application data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate host validation
Exploitation Conditions

Exploitation requires the ZTNA proxy feature of FortiProxy or FortiOS to be enabled and in active use - installations that do not deploy ZTNA are not exposed to this specific flaw. The attacker must occupy an adjacent-network man-in-the-middle position on the path between the ZTNA client and the proxy (CVSS AV:A), which rules out arbitrary internet-based attackers and limits the realistic threat model to attackers on shared layer-2 segments, compromised upstream network devices, hostile transit networks, or co-located cloud tenants. No authentication or user interaction is required (PR:N/UI:N) once that position is achieved, but AC:H reflects that the attacker must also stage a TLS interception capable of presenting a certificate that the flawed validation logic will accept, meaning the attack is not opportunistic against default internet traffic but is feasible for capable adversaries with network-path control.

Impact

The CVSS 3.1 vector AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H scores 7.5 (High) but several signals temper real-world urgency: AV:A means the attacker must be on the same logical/physical network segment as the victim ZTNA flow rather than reaching the device over the open internet, and AC:H indicates non-trivial preconditions such as having to position themselves to relay TLS traffic and present a substitute certificate. Counterbalancing that, PR:N and UI:N remove authentication and user-interaction barriers once positioning is achieved, and C:H/I:H reflect that the very trust boundary ZTNA was deployed to enforce is broken. There is no EPSS score, KEV listing, or POC indicator in the provided data, so exploitation appears theoretical at this point, but the issue is operationally serious because ZTNA proxies are a security control: a successful MITM converts a zero-trust enforcement point into an interception point. Siemens cross-publication suggests the vendor considers OT/ICS environments materially exposed. No conflicting signals were identified; the main data gap is independent confirmation of patched build numbers and any in-the-wild reporting.

Exploit ScenarioDerived

An attacker who has obtained an adjacent-network position - for example on a shared Wi-Fi segment, a compromised intermediate router, or a hostile ISP hop in front of a remote ZTNA client - redirects the client's TLS handshake to a proxy they control and presents a certificate whose hostname does not match the legitimate ZTNA service. Because the ZTNA proxy fails to enforce the host-to-certificate binding, the attacker terminates and re-originates the session, observes credentials and application traffic in cleartext, and selectively tampers with requests or responses to the backend application. No public POC has been identified at time of analysis, so this scenario is derived from the CWE-297 root cause and the CVSS AV:A/AC:H vector rather than an observed exploit.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 09, 2026

Man-in-the-middle interception is possible against the ZTNA proxy in FortiProxy 7.6.1 and earlier, 7.4.8 and earlier, and all 7.2/7.0 versions, as well as FortiOS 7.6.2 and earlier, 7.4.8 and earlier, and all 7.2/7.0 versions, due to improper certificate-host validation (CWE-297). An adjacent network attacker in a privileged path-position can intercept and tamper with ZTNA proxy connections, undermining a control specifically deployed to enforce zero-trust authentication. No public exploit has been identified at time of analysis, and the issue is not listed in CISA KEV.

RemediationAI

Patch available per vendor advisory FG-IR-24-457 - upgrade FortiProxy past 7.6.1 and 7.4.8 (and migrate off the still-vulnerable 7.2.x and 7.0.x branches, which require moving to a supported fixed train as exact fix versions for those legacy branches were not enumerated in the input data), and upgrade FortiOS past 7.6.2 and 7.4.8 with the same migration requirement for 7.2.x and 7.0.x; consult https://fortiguard.fortinet.com/psirt/FG-IR-24-457 for the exact fixed build numbers applicable to your branch. Siemens-managed deployments should also follow the guidance in https://cert-portal.siemens.com/productcert/html/ssa-864900.html. As compensating controls until patching is complete, consider disabling the ZTNA proxy feature where it is not strictly required (trade-off: loss of zero-trust access enforcement for any applications that depend on it), terminating ZTNA proxy traffic only over network paths you administratively control to deny the adjacent-network position required by AV:A (trade-off: reduced flexibility for remote users on untrusted segments), and tightening certificate pinning or restricting trusted issuers on ZTNA endpoints where the feature supports it (trade-off: increased certificate lifecycle management overhead).

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw sits in the ZTNA (Zero Trust Network Access) proxy component shared by Fortinet's FortiProxy gateway and FortiOS (the operating system underpinning FortiGate devices). ZTNA proxies broker authenticated client-to-application sessions and are expected to perform strict TLS certificate validation, including verifying that the certificate presented by the peer matches the expected hostname. CWE-297 (Improper Validation of Certificate with Host Mismatch) means the proxy accepts a TLS certificate even when its subject/SAN does not match the intended host, so a forged or substituted certificate from an unrelated CA-trusted identity is treated as legitimate. Affected CPEs are cpe:2.3:a:fortinet:fortiproxy and cpe:2.3:o:fortinet:fortios across the version ranges enumerated by the vendor advisory FG-IR-24-457, and Siemens has cross-published an advisory (SSA-864900) indicating downstream exposure in industrial deployments that embed these Fortinet products.

Know when Fortiproxy gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (fortinet) PRIMARY 7.5 HIGH
AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (fortinet) · only source for this CVE.

CVSS VectorVendor: fortinet

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

DescriptionCVE.org

An Improper Validation of Certificate with Host Mismatch vulnerability [CWE-297] in FortiProxy version 7.6.1 and below, version 7.4.8 and below, 7.2 all versions, 7.0 all versions and FortiOS version 7.6.2 and below, version 7.4.8 and below, 7.2 all versions, 7.0 all versions ZTNA proxy may allow an unauthenticated attacker in a man-in-the middle position to intercept and tamper with connections to the ZTNA proxy

Executive ViewAI

Why It Matters

Organizations relying on Fortinet FortiProxy or FortiOS for zero-trust network access enforcement face a critical vulnerability (CVE-2025-25253) allowing network attackers to bypass certificate validation and intercept ZTNA proxy traffic, directly undermining the security model justifying zero-trust deployment. Although no public exploit has been identified at time of analysis, versions up to 7.6.x remain at risk, and no patch is currently available. Immediate compensating controls are essential to maintain zero-trust infrastructure integrity.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to ZTNA proxy appliances through firewall segmentation and access controls; (2) Enable detailed logging and real-time alerting on certificate validation events and ZTNA proxy anomalies; (3) Deploy network-based IDS/IPS detection for man-in-the-middle attack signatures; (4) Implement certificate pinning on ZTNA client endpoints if platform-supported; (5) Isolate ZTNA proxy traffic to dedicated, monitored network segments; (6) Increase security monitoring frequency and incident response readiness.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:fortinet:fortiproxy:*:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiproxy:*:*:*:*:*:*:*:*
cpe:2.3:o:fortinet:fortios:*:*:*:*:*:*:*:*
cpe:2.3:o:fortinet:fortios:*:*:*:*:*:*:*:*
CVE-2022-40684 CRITICAL POC
9.8 Oct 18

An authentication bypass using an alternate path or channel [CWE-288] in Fortinet FortiOS version 7.2.0 through 7.2.1 an

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2024-21762 CRITICAL POC
9.8 Feb 09

A out-of-bounds write in Fortinet FortiOS versions 7.4.0 through 7.4.2, 7.2.0 through 7.2.6, 7.0.0 through 7.0.13, 6.4.0

CVE-2023-27997 CRITICAL
9.8 Jun 13

A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version 7.0.11 and below, versi

CVE-2025-61624 MEDIUM POC
6.5 Apr 14

Path traversal vulnerability in Fortinet FortiOS, FortiProxy, FortiPAM, and FortiSwitchManager allows authenticated admi

CVE-2025-24472 HIGH
8.1 Feb 11

FortiOS and FortiProxy contain an authentication bypass allowing unauthenticated attackers with knowledge of upstream/do

CVE-2024-48884 CRITICAL
9.1 Jan 14

Arbitrary file write and folder deletion in Fortinet FortiManager, FortiOS, and FortiProxy is possible via a path traver

CVE-2023-25610 CRITICAL
9.8 Mar 24

A buffer underwrite ('buffer underflow') vulnerability in the administrative interface of Fortinet FortiOS version 7.2.0

CVE-2023-42789 CRITICAL
9.8 Mar 12

A out-of-bounds write vulnerability in Fortinet FortiOS 7.4.0 through 7.4.1, FortiOS 7.2.0 through 7.2.5, FortiOS 7.0.0

CVE-2024-26011 CRITICAL
9.8 Nov 12

A missing authentication for critical function in Fortinet FortiManager version 7.4.0 through 7.4.2, 7.2.0 through 7.2.4

CVE-2024-23113 CRITICAL
9.8 Feb 15

A use of externally-controlled format string in Fortinet FortiOS versions 7.4.0 through 7.4.2, 7.2.0 through 7.2.6, 7.0.

CVE-2023-33308 CRITICAL
9.8 Jul 26

A stack-based overflow vulnerability [CWE-124] in Fortinet FortiOS version 7.0.0 through 7.0.10 and 7.2.0 through 7.2.3

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy