{"id":"CVE-2025-25257","kind":"vulnerability","aliases":["CVE-2025-25257"],"related":[],"title":"fortinet fortiweb: An improper neutralization of special elements used in an SQL command ('SQL Injection') vulnerability [CWE-89]…","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.","summary":"Fortinet FortiWeb, a web application firewall, has a SQL injection flaw that lets an unauthenticated remote attacker run unauthorized SQL through crafted HTTP or HTTPS requests. CISA lists it as actively exploited in the wild.","severity":"critical","cvss":9.8,"epss":null,"exploited":true,"exploited_at":"2025-07-18T00:00:00+00:00","products":[{"name":"fortinet fortiweb","fixed":["7.0.11"],"affected":">= 7.0.0, < 7.0.11","ecosystem":"vendor"},{"name":"fortinet fortiweb","fixed":["7.2.11"],"affected":">= 7.2.0, < 7.2.11","ecosystem":"vendor"},{"name":"fortinet fortiweb","fixed":["7.4.8"],"affected":">= 7.4.0, < 7.4.8","ecosystem":"vendor"},{"name":"fortinet fortiweb","fixed":["7.6.4"],"affected":">= 7.6.0, < 7.6.4","ecosystem":"vendor"},{"name":"Fortinet FortiWeb","fixed":[],"affected":"","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["exploited","fortiweb","infrastructure","self-hosted","waf"],"not_affected_if":["not-fortiweb"],"how_to_check":null,"fix":"Apply the mitigations in Fortinet's vendor advisory for CVE-2025-25257; if none are available, discontinue use of the product per CISA's required action.","status":"open","published_at":"2025-07-17T16:15:34+00:00","first_seen_at":"2026-10-23T19:11:51+00:00","triaged_at":"2026-10-23T20:46:45+00:00","updated_at":"2026-10-24T00:09:50+00:00","category":"infrastructure","confidence":0.7,"triage":{"at":"2026-10-23T20:46:45Z","model":"claude-haiku-5-5","output":{"fix":"Apply the mitigations in Fortinet's vendor advisory for CVE-2025-25257; if none are available, discontinue use of the product per CISA's required action.\nunknown","reach":"internet","summary":"Fortinet FortiWeb, a web application firewall, has a SQL injection flaw that lets an unauthenticated remote attacker run unauthorized SQL through crafted HTTP or HTTPS requests. CISA lists it as actively exploited in the wild.","category":"infrastructure","who_cares":["fortiweb","self-hosted","waf"],"confidence":0.7,"needs_auth":"no","worst_case":"Unauthenticated attacker runs arbitrary SQL, potentially reading or altering device data.","analyst_note":"Find affected FortiWeb versions, fixed builds and the vendor mitigation steps in Fortinet's PSIRT advisory for CVE-2025-25257, and confirm the exact check.","how_to_check":"unknown","needs_analyst":true,"not_affected_if":["not-fortiweb"],"user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000455,"input_tokens":2554,"output_tokens":400,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-2025':20A,23A '-25257':21A,24A '-89':18A,92C '7.0.0':109C '7.0.10':111C '7.2.0':105C '7.2.10':107C '7.4.0':101C '7.4.7':103C '7.6.0':97C '7.6.3':99C 'activ':72B 'allow':112C 'applic':46B 'attack':58B,115C 'cisa':68B 'code':120C 'command':13A,87C,122C 'craft':63B,124C 'cve':19A,22A 'cwe':17A,91C 'element':8A,82C 'execut':117C 'exploit':35B,73B 'firewal':47B 'flaw':52B 'fortinet':1A,25A,27A,29A,31A,33A,42B,95C 'fortiweb':2A,26A,28A,30A,32A,34A,36B,43B,96C,100C,104C,108C 'host':40B 'http':64B,125C 'https':66B,127C 'improp':4A,78C 'infrastructur':37B 'inject':15A,51B,89C 'let':54B 'list':69B 'neutral':5A,79C 'remot':57B 'request':67B,128C 'run':59B 'self':39B 'self-host':38B 'special':7A,81C 'sql':12A,14A,50B,61B,86C,88C,119C 'unauthent':56B,114C 'unauthor':60B,118C 'use':9A,83C 'via':123C 'vulner':16A,90C,93C 'waf':41B 'web':45B 'wild':76B","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2025-07-17T16:15:34+00:00","kev":{"dateAdded":"2025-07-18","dueDate":"2025-08-08","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","knownRansomwareCampaignUse":"Unknown"},"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cvss_by":"psirt@fortinet.com","poc_count":0,"sources":[{"source":"kev","external_id":"CVE-2025-25257","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2025-25257","severity":null,"published_at":"2025-07-18T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-23T19:11:51+00:00","fetched_at":"2026-10-25T13:39:29+00:00","note":null},{"source":"nvd","external_id":"CVE-2025-25257","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25257","severity":null,"published_at":"2025-07-17T16:15:34+00:00","modified_at":"2026-06-17T09:00:34+00:00","first_seen_at":"2026-10-23T22:29:05+00:00","fetched_at":"2026-10-23T22:29:05+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}