PoC Monitor
← All CVEs
CVE-2025-25257published 17 Jul 2025 15:10 UTCData: JSON · API

Fortinet FortiWeb

Fortinet FortiWeb SQL Injection Vulnerability

Edge device · Firewall / VPNknown edge product: Fortinet FortiWeb Fortinet FortiWeb SQL Injection Vulnerability (high confidence)

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.

First public PoC 6.9 days beforebefore publication · 10 Jul 2025
Public PoCs1311 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by NVD · CWE-89
CISA KEV 18 Jul 20251 day after publication

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Fortinet FortiWeb
  • >= 7.6.0, <= 7.6.3
  • >= 7.4.0, <= 7.4.7
  • >= 7.2.0, <= 7.2.10
  • >= 7.0.0, <= 7.0.10

Mitigation

Upgrade to FortiWeb version 7.6.4 or above Upgrade to FortiWeb version 7.4.8 or above Upgrade to FortiWeb version 7.2.11 or above Upgrade to FortiWeb version 7.0.11 or above

Timeline

Days relative to CVE publication
-8-6-4-2t=0+2+4+6+8First public PoC10 Jul 2025 · t−6.9dCVE published17 Jul 2025 · t = 0Added to CISA KEV18 Jul 2025 · t+1d

First public PoC 6.9 days before publication; added to CISA KEV 1 day after publication. First PoC: watchtowrlabs/watchTowr-vs-FortiWeb-CVE-2025-25257 (created 10 Jul 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

11 PoCs · 2 pending · 1 informational

PoCs 11
RepositoryCreatedStarsAssessment
watchtowrlabs/watchTowr-vs-FortiWeb-CVE-2025-25257 10 Jul 2025 −6.9 d 100 PoC
0xbigshaq/CVE-2025-25257 11 Jul 2025 −6.1 d 64 PoC
aitorfirm/CVE-2025-25257 12 Jul 2025 −5.6 d 1 PoC
adilburaksen/CVE-2025-25257-Exploit-Tool 12 Jul 2025 −5 d 0 PoC
imbas007/CVE-2025-25257 12 Jul 2025 −5 d 1 PoC
0xgh057r3c0n/CVE-2025-25257 15 Jul 2025 −2.2 d 2 PoC
mrmtwoj/CVE-2025-25257 19 Jul 2025 +1.5 d 1 PoC
TheStingR/CVE-2025-25257 19 Jul 2025 +2 d 5 PoC
segfault-it/CVE-2025-25257 21 Sep 2025 +66 d 1 PoC
mr-r3b00t/CVE-2025-25257 11 Nov 2025 +117 d 0 PoC
lytianahkone-boop/cve-2025-25257 16 Dec 2025 +152 d 0 PoC
Pending 2
RepositoryCreatedStarsAssessment
B1ack4sh/Blackash-CVE-2025-25257 unknown 0 Pending · repository unavailable (HTTP 404)
kityzed2003/CVE-2025-25257 unknown 0 Pending · repository unavailable (HTTP 404)
Informational 1
RepositoryCreatedStarsAssessment
GarethMSheldon/Fortinet-FortiWeb-Fabric-Connector-CVE-2025-25257-Detection 1 Mar 2026 +227 d 0 Informational · detection

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 11 PoC repos

GET /api/fabric/device/status`;

Key headers
Authorization: Bearer aaa' OR '1'='1
Seen in
1 repo: aitorfirm/CVE-2025-25257
Evidence
aitorfirm/CVE-2025-25257/java/poc.js:6

GET /api/system/status

Ports
8080
Seen in
1 repo: lytianahkone-boop/cve-2025-25257
Evidence
lytianahkone-boop/cve-2025-25257/README.md:48

GET /cgi-bin/x.cgi

PoC User-Agent
whoami
Seen in
1 repo: 0xgh057r3c0n/CVE-2025-25257
Evidence
0xgh057r3c0n/CVE-2025-25257/README.md:55

GET /webshell.php

Ports
8080
PoC User-Agent
whoami
Seen in
1 repo: TheStingR/CVE-2025-25257
Evidence
TheStingR/CVE-2025-25257/README.md:121

POST /api/system/fabric/config

Key headers
Authorization: Bearer valid_token_001 Authorization: Bearer ' OR '1'='1 Authorization: Bearer ' UNION SELECT id, username, password, role, email, NULL FROM users-- Authorization: Bearer ' UNION SELECT id, key, value, description, '2025-01-01',NULL FROM system_config--
Content-Type
application/json
Ports
8080
Seen in
1 repo: lytianahkone-boop/cve-2025-25257
Evidence
lytianahkone-boop/cve-2025-25257/README.md:52 lytianahkone-boop/cve-2025-25257/README.md:57 lytianahkone-boop/cve-2025-25257/README.md:62 lytianahkone-boop/cve-2025-25257/README.md:67

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /api/fabric/device/status
(?i)^/api/fabric/device/status(?:[?#].*)?$
GET /api/fabric/device/status`;
(?i)^/api/fabric/device/status`;(?:[?#].*)?$
GET /api/system/status
(?i)^/api/system/status(?:[?#].*)?$
GET /cgi-bin/x.cgi
(?i)^/cgi-bin/x\.cgi(?:[?#].*)?$
GET /webshell.php
(?i)^/webshell\.php(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /api/fabric/device/status
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-25257 Fortinet FortiWeb exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/fabric/device/status"; http.header; content:"Authorization: Bearer "; nocase; http.header; content:"Authorization: Bearer aaa' OR '1'='1"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-25257; classtype:web-application-attack; sid:9568062; rev:1;)
GET /api/fabric/device/status`;
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-25257 Fortinet FortiWeb exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/fabric/device/status`|3b|"; http.header; content:"Authorization: Bearer aaa' OR '1'='1"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-25257; classtype:web-application-attack; sid:9436435; rev:1;)
GET /api/system/status
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-25257 Fortinet FortiWeb exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/system/status"; reference:url,poc.griffinguard.io/cve/CVE-2025-25257; classtype:web-application-attack; sid:9777807; rev:1;)
GET /cgi-bin/x.cgi
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-25257 Fortinet FortiWeb exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/cgi-bin/x.cgi"; reference:url,poc.griffinguard.io/cve/CVE-2025-25257; classtype:web-application-attack; sid:9742025; rev:1;)
GET /webshell.php
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-25257 Fortinet FortiWeb exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/webshell.php"; reference:url,poc.griffinguard.io/cve/CVE-2025-25257; classtype:web-application-attack; sid:9723138; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /api/fabric/device/status
title: Fortinet FortiWeb exploit attempt (CVE-2025-25257)
id: gg-pocmon-cve-2025-25257-9568062
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-25257. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-25257
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/fabric/device/status'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.25257
GET /api/fabric/device/status`;
title: Fortinet FortiWeb exploit attempt (CVE-2025-25257)
id: gg-pocmon-cve-2025-25257-9436435
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-25257. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-25257
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/fabric/device/status`;'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.25257
GET /api/system/status
title: Fortinet FortiWeb exploit attempt (CVE-2025-25257)
id: gg-pocmon-cve-2025-25257-9777807
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-25257. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-25257
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/system/status'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.25257
GET /cgi-bin/x.cgi
title: Fortinet FortiWeb exploit attempt (CVE-2025-25257)
id: gg-pocmon-cve-2025-25257-9742025
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-25257. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-25257
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/cgi-bin/x.cgi'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.25257
GET /webshell.php
title: Fortinet FortiWeb exploit attempt (CVE-2025-25257)
id: gg-pocmon-cve-2025-25257-9723138
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-25257. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-25257
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/webshell.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.25257