CVE-2025-25257
Fortinet FortiWeb SQL Injection Vulnerability
Known exploited
CISA added this CVE to its list of known exploited vulnerabilities on 18 Jul 2025. US federal agencies had to act by 8 Aug 2025.
- Name
- Fortinet FortiWeb SQL Injection Vulnerability
- Required action
- Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- Ransomware
- Use in ransomware campaigns is not known
- Notes
- https://fortiguard.fortinet.com/psirt/FG-IR-25-151 https://nvd.nist.gov/vuln/detail/CVE-2025-25257
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:X/RC:C
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 99.9%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 18 Jul 2025):
- Exploitation
- active: CISA has reliable evidence of exploitation in the wild
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| FortiWeb |
affected from 7.6.0 up to and including 7.6.3 affected from 7.4.0 up to and including 7.4.7 affected from 7.2.0 up to and including 7.2.10 affected from 7.0.0 up to and including 7.0.10
Other versions: unaffected
|
Is my server affected?
This CVE is in FortiWeb of Fortinet, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Advisories
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-25257 cisa.gov · government resource
Exploits and proof of concept
- https://github.com/0xbigshaq/CVE-2025-25257 github.com · exploit
Other references
- https://fortiguard.fortinet.com/psirt/FG-IR-25-151 fortiguard.fortinet.com
- https://www.exploit-db.com/exploits/52473 exploit-db.com
- https://packetstorm.news/files/id/210193/ packetstorm.news
Source: the record CVE-2025-25257 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse