PoC Monitor
← All CVEs
CVE-2025-58034published 18 Nov 2025 17:01 UTCData: JSON · API

Fortinet FortiWeb

Fortinet FortiWeb OS Command Injection Vulnerability

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

An Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability [CWE-78] vulnerability in Fortinet FortiWeb 8.0.0 through 8.0.1, FortiWeb 7.6.0 through 7.6.5, FortiWeb 7.4.0 through 7.4.10, FortiWeb 7.2.0 through 7.2.11, FortiWeb 7.0.0 through 7.0.11 may allow an authenticated attacker to execute unauthorized code on the underlying system via crafted HTTP requests or CLI commands.

First public PoC 2.8 daysafter publication · 21 Nov 2025 · Metasploit
Public PoCs21 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS6.7medium · scored by CNA · CWE-78
CISA KEV 18 Nov 20251 h after publication

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Fortinet FortiWeb
  • >= 7.6.0, <= 7.6.4
  • >= 7.4.0, <= 7.4.8
  • >= 7.2.0, <= 7.2.11
  • >= 7.0.2, <= 7.0.11

Mitigation

Upgrade to FortiWeb version 8.0.2 or above Upgrade to FortiWeb version 7.6.6 or above Upgrade to FortiWeb version 7.4.11 or above Upgrade to FortiWeb version 7.2.12 or above Upgrade to FortiWeb version 7.0.12 or above

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published18 Nov 2025 · t = 0Added to CISA KEV18 Nov 2025 · t = 0First public PoC21 Nov 2025 · t+2.8d

First public PoC 2.8 days after publication; added to CISA KEV 0 h after publication. First PoC: Metasploit exploit: Fortinet FortiWeb unauthenticated RCE (exploit/linux/http/fortinet_fortiweb_rce) (Metasploit, 21 Nov 2025).

PoC repositories

Found on GitHub.

1 PoCs · 1 pending · 2 informational

PoCs 1
RepositoryCreatedStarsAssessment
litndat/Vulnerability-CVE-2025-64446-CVE-2025-58034 24 Jun 2026 +218 d 0 PoC
Pending 1
RepositoryCreatedStarsAssessment
eagle-nett/FORTIWEB_CVE-2025-64446-58034 22 Mar 2026 +124 d 0 Pending
Informational 2
RepositoryCreatedStarsAssessment
lequoca/fortinet-fortiweb-cve-2025-64446-58034 21 Dec 2025 +33 d 0 Informational · write-up
1337or420/FortiGate-FortiWeb-Multi-Exploit-Extractor 14 May 2026 +177 d 2 Informational · list

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 1 PoC repo

POST /api/v2.0/cmdb/system/admin%3f/../../../../../cgi-bin/fwbcgi

Key headers
CGIINFO: eyJ1c2VybmFtZSI6ImFkbWluIiwicHJvZm5hbWUiOiJwcm9mX2FkbWluIiwidmRvbSI6InJvb3QiLCJsb2dpbm5hbWUiOiJhZG1pbiJ9
Body markers
"q_type": 1 "access-profile": "prof_admin" "type": "local-user" "trusthostv4": "0.0.0.0/0" "name": "password": in application/x-www-form-urlencoded
Ports
443
Seen in
1 repo: litndat/Vulnerability-CVE-2025-64446-CVE-2025-58034
Evidence
litndat/Vulnerability-CVE-2025-64446-CVE-2025-58034/exploit.py:96 litndat/Vulnerability-CVE-2025-64446-CVE-2025-58034/exploit.py:41-44

Regex

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

POST /api/v2.0/cmdb/system/admin%3f/../../../../../cgi-bin/fwbcgi
(?i)^/api/v2\.0/cmdb/system/admin%3f/\.\./\.\./\.\./\.\./\.\./cgi-bin/fwbcgi(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /api/v2.0/cmdb/system/admin%3f/../../../../../cgi-bin/fwbcgi
alert http any any -> $HOME_NET [443] (msg:"GG PoC-Monitor CVE-2025-58034 Fortinet FortiWeb exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/v2.0/cmdb/system/admin%3f/../../../../../cgi-bin/fwbcgi"; http.header; content:"CGIINFO: eyJ1c2VybmFtZSI6ImFkbWluIiwicHJvZm5hbWUiOiJwcm9mX2FkbWluIiwidmRvbSI6InJvb3QiLCJsb2dpbm5hbWUiOiJhZG1pbiJ9"; nocase; http.request_body; content:"|22|q_type|22|: 1"; http.request_body; content:"|22|access-profile|22|: |22|prof_admin|22|"; http.request_body; content:"|22|type|22|: |22|local-user|22|"; http.request_body; content:"|22|trusthostv4|22|: |22|0.0.0.0/0|22|"; http.request_body; content:"|22|name|22|:"; http.request_body; content:"|22|password|22|:"; reference:url,poc.griffinguard.io/cve/CVE-2025-58034; classtype:web-application-attack; sid:9151009; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /api/v2.0/cmdb/system/admin%3f/../../../../../cgi-bin/fwbcgi
title: Fortinet FortiWeb exploit attempt (CVE-2025-58034)
id: gg-pocmon-cve-2025-58034-9151009
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-58034. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-58034
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/v2.0/cmdb/system/admin%3f/../../../../../cgi-bin/fwbcgi'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.58034