CVE-2025-25256
CRITICAL(9.8)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 9.8 — Kritisch
- EPSS 60%
EPSS-Score
60.1%
Exploit-Wahrscheinlichkeit (30 Tage)
CVSS Score
9.8
Technische Schwere
SecBoard-Einordnung
Die Schwachstelle CVE-2025-25256 betrifft Fortinet FortiSIEM und ist eine OS Command Injection (CWE-78). Sie ermöglicht einem nicht authentifizierten Angreifer die Ausführung von nicht autorisiertem Code oder Befehlen durch speziell gestaltete CLI-Anfragen. Dies kann zu einer vollständigen Kompromittierung des betroffenen Systems führen.
Mit einem CVSS-Score von 9.8 wird diese Schwachstelle als kritisch eingestuft. Die EPSS-Wahrscheinlichkeit von 60% deutet auf eine erhöhte Wahrscheinlichkeit der Ausnutzung hin, auch wenn sie derzeit nicht in CISA KEV gelistet ist. Die Möglichkeit der Ausnutzung durch nicht authentifizierte Angreifer erhöht das Risiko erheblich.
Security-Teams sollten umgehend alle betroffenen FortiSIEM-Installationen identifizieren und die vom Hersteller bereitgestellten Patches oder Updates anwenden. Eine schnelle Priorisierung ist aufgrund der Kritikalität und der hohen EPSS-Werte dringend empfohlen, um potenzielle Angriffe zu verhindern.
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 FortiSIEM 7.3.0 through 7.3.1, FortiSIEM 7.2.0 through 7.2.5, FortiSIEM 7.1.0 through 7.1.7, FortiSIEM 7.0.0 through 7.0.3, FortiSIEM 6.7.0 through 6.7.9, FortiSIEM 6.6 all versions, FortiSIEM 6.5 all versions, FortiSIEM 6.4 all versions, FortiSIEM 6.3 all versions, FortiSIEM 6.2 all versions, FortiSIEM 6.1 all versions, FortiSIEM 5.4 all versions, FortiSIEM 5.3 all versions, FortiSIEM 5.2 all versions, FortiSIEM 5.1 all versions, FortiSIEM 5.0 all versions, FortiSIEM 4.10 all versions, FortiSIEM 4.9 all versions, FortiSIEM 4.7 all versions allows an unauthenticated attacker to execute unauthorized code or commands via crafted CLI requests.
Erkennung & Indikatoren
Ausnutzung
Working exploit code for the flaw has been found in the wild. Fortinet's advisory states that "practical exploit code for this vulnerability was found in the wild." watchTowr Labs also noted in-the-wild exploitation.
Behobene Versionen
- FortiSIEM 7.3.2 or above
- FortiSIEM 7.2.6 or above
- FortiSIEM 7.1.8 or above
- FortiSIEM 7.0.4 or above
- FortiSIEM 6.7.10 or above
- FortiSIEM 6.6 (Migrate to a fixed release)
- FortiSIEM 6.5 (Migrate to a fixed release)
- FortiSIEM 6.4 (Migrate to a fixed release)
- FortiSIEM 6.3 (Migrate to a fixed release)
- FortiSIEM 6.2 (Migrate to a fixed release)
- FortiSIEM 6.1 (Migrate to a fixed release)
- FortiSIEM 5.4 (Migrate to a fixed release)
Threat-Hunting-Queries
The vulnerability is an OS Command Injection via the phMonitor service on port 7900. Detection should focus on unusual process execution originating from the FortiSIEM phMonitor service, especially commands indicative of system compromise (e.g., 'whoami', network enumeration, user creation, file modification). The phMonitor service listens on TCP port 7900.
Sentinel/Defender KQL
DeviceProcessEvents
| where InitiatingProcessFileName =~ "phMonitor" and InitiatingProcessPort == 7900
| where FileName in ("sh", "bash", "powershell", "cmd") or ProcessCommandLine contains "whoami" or ProcessCommandLine contains "net user" or ProcessCommandLine contains "curl" or ProcessCommandLine contains "wget"
| project TimeGenerated, DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine, RemoteIP, RemotePortSplunk SPL
index=* sourcetype=fortisiem_logs (source_process="phMonitor" OR dest_port=7900) (process_name="sh" OR process_name="bash" OR process_name="powershell" OR process_name="cmd" OR command_line="*whoami*" OR command_line="*net user*" OR command_line="*curl*" OR command_line="*wget*")Sigma
title: FortiSIEM CVE-2025-25256 OS Command Injection
status: experimental
description: Detects potential OS command injection attempts via FortiSIEM's phMonitor service (CVE-2025-25256).
references:
- https://fortiguard.fortinet.com/psirt/FG-IR-25-152
- https://www.theregister.com/2025/08/13/fortinet_discloses_critical_bug/
- https://labs.watchtowr.com/should-security-solutions-be-secure-maybe-were-all-wrong-fortinet-fortisiem-pre-auth-command-injection-cve-2025-25256/
logsource:
category: process_creation
product: linux
detection:
selection:
ParentImage|endswith: '\phMonitor'
ParentPort: 7900
Image|endswith:
- '\sh'
- '\bash'
- '\powershell'
- '\cmd.exe'
CommandLine|contains:
- 'whoami'
- 'net user'
- 'curl'
- 'wget'
condition: selection
fields:
- CommandLine
- ParentImage
- Image
- ParentPort
tags:
- attack.execution
- cve.2025.25256
- fortinet
- fortisiemElastic ES|QL
from process where event.category == "process" and event.type == "start" and process.parent.executable == "phMonitor" and process.parent.port == 7900 and (process.executable in ("sh", "bash", "powershell", "cmd") or process.command_line : ("*whoami*", "*net user*", "*curl*", "*wget*"))SecBoard-generated · behavioral · requires customization — Von SecBoard erzeugt und nicht in einer Zielumgebung validiert. Vor dem Einsatz an die eigene Protokollierung anpassen.
Ausgewertete Quellen
- https://fortiguard.fortinet.com/psirt/FG-IR-25-152
- https://www.theregister.com/2025/08/13/fortinet_discloses_critical_bug/
- https://github.com/watchtowrlabs/watchTowr-vs-FortiSIEM-CVE-2025-25256
- https://labs.watchtowr.com/should-security-solutions-be-secure-maybe-were-all-wrong-fortinet-fortisiem-pre-auth-command-injection-cve-2025-25256/
Betroffene Produkte
- cpe:2.3:a:fortinet:fortisiem:*:*:*:*:*:*:*:*
- cpe:2.3:a:fortinet:fortisiem:*:*:*:*:*:*:*:*
- cpe:2.3:a:fortinet:fortisiem:*:*:*:*:*:*:*:*
- cpe:2.3:a:fortinet:fortisiem:*:*:*:*:*:*:*:*
- cpe:2.3:a:fortinet:fortisiem:*:*:*:*:*:*:*:*