LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2025-25257: Fortinet FortiWeb SQL Injection Vulnerability

RBRecent Breaches Vulnerability Intelligence·Jul 18, 2025
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Aug 8, 2025
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2025-25257 to its Known Exploited Vulnerabilities catalog on Jul 18, 2025, with a federal patch deadline of Aug 8, 2025 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

Fortinet FortiWeb contains a SQL injection vulnerability that may allow an unauthenticated attacker to execute unauthorized SQL code or commands via crafted HTTP or HTTPs requests.

CVE-2025-25257 is a SQL injection vulnerability in Fortinet FortiWeb that may allow an unauthenticated attacker to execute unauthorized SQL code or commands through crafted HTTP or HTTPS requests. FortiWeb appliances sit at the edge of many environments as web application firewalls, so a flaw of this class can expose backend data or enable further compromise if left unaddressed.

Defenders should treat this as a high-priority review item for any FortiWeb deployment and confirm all details against the official Fortinet advisory before acting.

How it works

This vulnerability falls under CWE-89 (SQL Injection). In products that accept and process HTTP or HTTPS traffic, user-controlled input is sometimes incorporated into database queries without proper sanitization or parameterization. An attacker who can reach the affected interface can craft requests that alter the intended SQL logic.

Because the CISA summary notes the attacker need not be authenticated, the attack surface is any network-reachable FortiWeb management or proxy endpoint that processes the vulnerable request path. Successful injection can let the attacker read, modify, or delete data the appliance’s database role can access, or in some cases chain into further commands. Exact request formats and impact depend on the product’s internal schema and must be confirmed in the vendor advisory; do not rely on generic SQL-injection payloads.

Am I affected? How to find it in your systems

FortiWeb is typically deployed as a hardware appliance, virtual machine, or cloud instance in front of web applications or as a reverse-proxy/WAF. Inventory every FortiWeb instance by:

Configurations that expose the management plane or proxy listeners to untrusted networks increase exposure. Review access-control lists and interface bindings.

For signs of exploitation, examine FortiWeb and upstream web logs for anomalous HTTP/HTTPS requests containing SQL metacharacters, unexpected UNION/SELECT constructs, or error messages that leak database details. Correlate with authentication failures, sudden configuration changes, or unusual database activity on any backend systems the appliance contacts. Because public exploit details are limited, treat any unexpected SQL-related errors as suspicious and escalate for forensic review.

How to remediate

Apply the vendor-supplied update or patch identified in Fortinet’s advisory for CVE-2025-25257 as the primary remediation. Follow Fortinet’s installation and reboot guidance exactly; verify the new version string after the update.

After patching, harden the deployment for this class of flaw:

If the product is offered as a cloud service, also follow applicable BOD 22-01 guidance. If no mitigations are available, CISA advises discontinuing use of the product.

If you can't patch immediately

Until the vendor update can be applied, reduce risk with compensating controls:

These measures buy time but do not replace the patch; schedule the update as soon as operationally feasible.

If your data may have been exposed

Actively exploited vulnerabilities of this type can lead to data breaches. If logs or other indicators suggest successful SQL injection, assume sensitive data handled by the FortiWeb or its protected applications may have been accessed. Preserve logs, isolate the device if compromise is confirmed, and follow your incident-response plan. You can also run a free exposure scan of your email addresses against known breach data sets to check whether credentials or personal information have already appeared in public dumps.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedFortinet · FortiWeb
WeaknessCWE-89
Added to CISA KEVJul 18, 2025
Federal patch deadlineAug 8, 2025
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities