Skip to content

CVE-2025-61624: Fortinet FortiOS, FortiProxy & FortiPAM Path Traversal & Arbitrary File Overwrite Zero-Day

Density:
C-Level Executive Briefing CVE-2025-61624 EXTREME SCORE 97/100

A critical path traversal vulnerability in Fortinet FortiOS, FortiPAM, FortiProxy, and FortiSwitchManager allows unauthenticated remote attackers or low-privilege sessions to write and overwrite arbitrary system files, leading to persistent appliance backdoor implantation and root execution.

HYBRID

HERMES THREAT SCORE & ENTERPRISE ARCHITECTURE EVALUATION

Target: Fortinet FortiOS, FortiPAM, FortiProxy & FortiSwitchManager โ€” Admin Web Management Service (miglogd / nodejs daemon)
Confidence: 99%
97 / 100
EXTREME

Measures real-world operational relevance, exploit weaponization, and active threat posture.

Dimension Breakdown
Exploitability 20 / 20
Threat Activity 20 / 20
Weaponization 20 / 20
Exposure 20 / 20
Prevalence 19 / 20
Impact 20 / 20
Exploit Maturity 20 / 20
Attack Chain Potential 19 / 20
โš–๏ธ Divergence & Operational Rationale

CVSS evaluates this flaw at 9.8. Hermes Threat Score elevates to 97 (EXTREME) with a Hermes Agentic Security Score (HASS) of 82. Operational weaponization in production environments threatens critical enterprise identities, gateway access, and autonomous agent executions.

๐Ÿ•ธ๏ธ Connected Knowledge Graph & Provenance

CVE-2025-61624: Fortinet FortiOS, FortiProxy & FortiPAM Path Traversal & Arbitrary File Overwrite Zero-DayVULNERABILITY

Connected Nodes: 1
Active Relationships (Outgoing)
→ affectsPRODUCTFortinet FortiOS Gateway
98% VERY_HIGH

Software platform affected by security vulnerabilities and agentic attack patterns.

๐Ÿ” Why is this related? (Evidence & Provenance)

“Confirmed security vulnerability in Fortinet FortiOS Gateway documented in Hermes dossier.”

Supporting Verified Evidence:

On 2025-10-14, threat intelligence feeds flagged CVE-2025-61624 affecting Fortinet FortiOS, FortiPAM, FortiProxy & FortiSwitchManager. Evaluated at a base CVSS score of 9.8, this vulnerability represents an immediate high-impact operational risk.

A critical path traversal vulnerability in Fortinet FortiOS, FortiPAM, FortiProxy, and FortiSwitchManager allows unauthenticated remote attackers or low-privilege sessions to write and overwrite arbitrary system files, leading to persistent appliance backdoor implantation and root execution.


The flaw resides directly within the Admin Web Management Service (miglogd / nodejs daemon). Specifically, improper sanitization and missing invariant checks allow an attacker to trigger CWE-22: Improper Limitation of a Pathname to a Restricted Directory (โ€˜Path Traversalโ€™).

[Adversary Request] ---> [Perimeter Gateway / API Router]
|
[Missing Boundary Validation]
|
[Target Subsystem: Admin Web Management Service (miglogd / nodejs daemon)]
|
[Unrestricted Execution / File Tampering / Bypass]
  1. Reconnaissance & Endpoint Identification: Threat actors scan for publicly reachable Fortinet FortiOS, FortiPAM, FortiProxy & FortiSwitchManager endpoints.
  2. Payload Delivery: A malformed payload exploiting CWE-22: Improper Limitation of a Pathname to a Restricted Directory (โ€˜Path Traversalโ€™) is transmitted.
  3. Privilege Elevation & Execution: The application evaluates the input with elevated privileges, bypassing authentication and execution safeguards.
  4. Post-Exploitation & Lateral Movement: Attackers establish persistence, pivot to internal networks, and extract sensitive identity artifacts.

title: Fortinet FortiOS Path Traversal File Overwrite Attempt
id: fortinet-cve-2025-61624-detect
status: experimental
description: Detects traversal sequences targeting FortiOS administrative endpoints to overwrite configuration or authentication files.
logsource:
category: firewall
product: fortinet
detection:
selection:
url|contains:
- '/miglogd/../'
- '/api/v2/cmdb/../../'
- '%2e%2e%2f'
condition: selection
level: critical
alert http $EXTERNAL_NET any -> $HOME_NET [80,443,8443] (msg:"HERMES EXPLOIT Fortinet FortiOS Path Traversal (CVE-2025-61624)"; flow:to_server,established; content:"/api/v2/cmdb/"; http_uri; content:"..%2f"; http_uri; fast_pattern; classtype:web-application-attack; sid:202561624; rev:1;)

  1. Deploy Vendor Security Patches: Update to FortiOS 7.0.17, 7.2.10, 7.4.6, 7.6.1 or later.
  2. Perimeter Network Isolation: Restrict access to administrative endpoints to authorized management subnets only.
  3. Forensic Audit: Inspect system authentication and process execution logs for indicators of compromise (IOCs).