SecBoard
Zurück zur CVE-Übersicht

CVE-2025-58034

HIGH(7.2)KEV — Aktiv ausgenutzt

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Risk Signal Score64/100 — HOCH
  • CVSS 7.2 — Hoch
  • EPSS 55%
  • Im CISA KEV-Katalog (aktiv ausgenutzt)

CISA KEV

Bestätigt ausgenutzt

EPSS-Score

54.7%

Exploit-Wahrscheinlichkeit (30 Tage)

CVSS Score

7.2

Technische Schwere

SecBoard-Einordnung

CVE-2025-58034 betrifft Fortinet FortiWeb-Versionen 7.0.0 bis 7.0.11, 7.2.0 bis 7.2.11, 7.4.0 bis 7.4.10, 7.6.0 bis 7.6.5 und 8.0.0 bis 8.0.1. Es handelt sich um eine OS Command Injection-Schwachstelle (CWE-78), die es einem authentifizierten Angreifer ermöglicht, über manipulierte HTTP-Anfragen oder CLI-Befehle unautorisierten Code auf dem zugrunde liegenden System auszuführen. Die Schwachstelle resultiert aus einer unsachgemäßen Neutralisierung von speziellen Elementen, die in OS-Befehlen verwendet werden. Mit einem CVSS-Score von 7.2 (HIGH) und einer EPSS-Wahrscheinlichkeit von 56% für die Ausnutzung ist diese Schwachstelle als kritisch einzustufen. Besonders besorgniserregend ist die Aufnahme in den KEV-Katalog, was bedeutet, dass CVE-2025-58034 bereits aktiv ausgenutzt wird. Dies unterstreicht die Dringlichkeit der Bedrohung. Security-Teams sollten umgehend alle betroffenen FortiWeb-Instanzen identifizieren und priorisiert patchen, sobald entsprechende Updates verfügbar sind. Bis zur vollständigen Behebung sollten, falls möglich, temporäre Mitigationen implementiert und die Systeme auf ungewöhnliche Aktivitäten überwacht werden, um potenzielle Kompromittierungen frühzeitig zu erkennen.

KI-gestützte Einordnung auf Basis der NVD-Daten.

Beschreibung

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.

Erkennung & Indikatoren

Ausnutzung

Aktiv ausgenutzt (CISA KEV). CISA reports this vulnerability has been exploited in the wild.

Threat-Hunting-Queries

Sentinel/Defender KQL

DeviceProcessEvents
| where FileName in~ ("sh", "bash", "cmd.exe", "powershell.exe")
| where InitiatingProcessFileName =~ "httpd" or InitiatingProcessFileName =~ "nginx" // Assuming FortiWeb uses common web server processes
| where ProcessCommandLine has_any ("curl", "wget", "nc", "python", "perl", "php", "ruby", "java", "system", "exec") // Common command injection indicators
| where ProcessCommandLine has "&" or ProcessCommandLine has "|" or ProcessCommandLine has ";" or ProcessCommandLine has "`" or ProcessCommandLine has "$" // OS command injection specific characters
| project Timestamp, DeviceName, InitiatingProcessFileName, FileName, ProcessCommandLine, InitiatingProcessCommandLine

Splunk SPL

index=your_fortiweb_logs (source="http" OR source="cli") (command="sh" OR command="bash" OR command="cmd.exe" OR command="powershell.exe") (eval(match(_raw, "&|;|`|$")) OR eval(match(_raw, "curl|wget|nc|python|perl|php|ruby|java|system|exec")))
| table _time, host, source, command, _raw

Sigma

title: FortiWeb OS Command Injection Attempt
logsource:
  category: process_creation
  product: linux # Or windows, depending on FortiWeb's underlying OS
detection:
  selection:
    ParentImage|endswith:
      - '\httpd'
      - '\nginx'
    Image|endswith:
      - '\sh'
      - '\bash'
      - '\cmd.exe'
      - '\powershell.exe'
    CommandLine|contains:
      - '&'
      - '|'
      - ';'
      - '`'
      - '$('
      - 'curl'
      - 'wget'
      - 'nc'
      - 'python'
      - 'perl'
      - 'php'
      - 'ruby'
      - 'java'
      - 'system'
      - 'exec'
  condition: selection
level: high

Elastic ES|QL

from process where event.category == "process" and event.type == "start" and 
  (process.parent.executable : ("httpd", "nginx") or process.parent.name : ("httpd", "nginx")) and 
  (process.executable : ("sh", "bash", "cmd.exe", "powershell.exe") or process.name : ("sh", "bash", "cmd.exe", "powershell.exe")) and 
  (process.command_line : ("&", "|", ";", "`", "$(") or process.command_line : ("curl", "wget", "nc", "python", "perl", "php", "ruby", "java", "system", "exec"))
| project @timestamp, host.name, process.parent.executable, process.executable, process.command_line

SecBoard-generated behavioral requires customization — Von SecBoard erzeugt und nicht in einer Zielumgebung validiert. Vor dem Einsatz an die eigene Protokollierung anpassen.

Betroffene Produkte

  • cpe:2.3:a:fortinet:fortiweb:*:*:*:*:*:*:*:*
  • cpe:2.3:a:fortinet:fortiweb:*:*:*:*:*:*:*:*
  • cpe:2.3:a:fortinet:fortiweb:*:*:*:*:*:*:*:*
  • cpe:2.3:a:fortinet:fortiweb:*:*:*:*:*:*:*:*
  • cpe:2.3:a:fortinet:fortiweb:*:*:*:*:*:*:*:*

Referenzen