CVE-2025-25257: Fortinet FortiWeb · SQL injection
Exploitation: In the wild · CVSS 9.6 Critical · Unauthenticated · Published 2025-07-17
Description
An improper neutralization of special elements used in an SQL command ('SQL Injection') vulnerability [CWE-89] vulnerability in Fortinet FortiWeb 7.6.0 through 7.6.3, FortiWeb 7.4.0 through 7.4.7, FortiWeb 7.2.0 through 7.2.10, FortiWeb 7.0.0 through 7.0.10 allows an unauthenticated attacker to execute unauthorized SQL code or commands via crafted HTTP or HTTPs requests.
Enclave's analysis
Unauthenticated SQL injection in Fortinet FortiWeb, reachable with crafted HTTP or HTTPS requests. No login or user interaction is needed. It's on CISA KEV and CISA marks exploitation as active. Public exploit code is referenced. Upgrade to 7.6.4, 7.4.8, 7.2.11 or 7.0.11 or later, and don't leave the web interface exposed to untrusted networks.
Fix
Upgrade Fortinet FortiWeb 7.6 to 7.6.4; Fortinet FortiWeb 7.4 to 7.4.8; Fortinet FortiWeb 7.2 to 7.2.11. See the affected versions for other product fixes. No fixed version is listed for FortiWeb; follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| FortiWeb | 7.6.0 through 7.6.3 | Not listed |
| FortiWeb | 7.4.0 through 7.4.7 | Not listed |
| FortiWeb | 7.2.0 through 7.2.10 | Not listed |
| FortiWeb | 7.0.0 through 7.0.10 | Not listed |
| Fortinet FortiWeb 7.6 | 7.6.0 through 7.6.3 | 7.6.4 |
| Fortinet FortiWeb 7.4 | 7.4.0 through 7.4.7 | 7.4.8 |
| Fortinet FortiWeb 7.2 | 7.2.0 through 7.2.10 | 7.2.11 |
| Fortinet FortiWeb 7.0 | 7.0.0 through 7.0.10 | 7.0.11 |