Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2024-33502

CVE-2024-33502: Fortinet FortiAnalyzer Path Traversal

CVE-2024-33502 is a path traversal vulnerability in Fortinet FortiAnalyzer that allows attackers to execute unauthorized code via crafted HTTP requests. This article covers technical details, affected versions, and mitigation.

Published:

CVE-2024-33502 Overview

CVE-2024-33502 is a path traversal vulnerability [CWE-22] affecting Fortinet FortiManager and FortiAnalyzer. The flaw allows an authenticated attacker with high privileges to execute unauthorized code or commands by sending crafted HTTP or HTTPS requests. The issue stems from improper limitation of a pathname to a restricted directory. Successful exploitation can compromise confidentiality, integrity, and availability of the management appliance.

Critical Impact

An authenticated attacker can execute unauthorized code or commands on FortiManager or FortiAnalyzer through crafted HTTP/HTTPS requests, potentially compromising centralized management of Fortinet infrastructure.

Affected Products

  • Fortinet FortiManager versions 6.0.0 through 7.4.2
  • Fortinet FortiAnalyzer versions 6.0.0 through 7.4.2
  • Branches affected: 7.4.0–7.4.2, 7.2.0–7.2.5, 7.0.0–7.0.12, 6.4.0–6.4.14, 6.2.0–6.2.12, 6.0.0–6.0.12

Discovery Timeline

  • 2025-01-14 - CVE-2024-33502 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-33502

Vulnerability Analysis

The vulnerability is a path traversal weakness in the HTTP/HTTPS request handling logic of FortiManager and FortiAnalyzer. An attacker crafts a request containing directory traversal sequences that escape the intended restricted directory. This allows access to file system locations outside the expected scope. The condition ultimately enables unauthorized code or command execution on the appliance.

Exploitation requires network access to the management interface and high-privilege authentication. The attack does not require user interaction. Because FortiManager and FortiAnalyzer act as centralized controllers for Fortinet fabric deployments, a compromised appliance can affect policy distribution, log integrity, and downstream device trust.

Root Cause

The root cause is improper limitation of a pathname to a restricted directory [CWE-22]. The affected components do not adequately validate or normalize user-supplied path components in HTTP/HTTPS request parameters. Traversal sequences bypass the intended directory boundary and reach unintended file system resources used by the appliance's execution paths.

Attack Vector

The attack vector is network-based against the FortiManager or FortiAnalyzer management interface. An authenticated attacker holding high-privilege credentials issues crafted HTTP or HTTPS requests to a vulnerable endpoint. The requests include manipulated path parameters that the application resolves outside the intended directory. See the Fortinet Security Advisory FG-IR-24-143 for technical details.

Detection Methods for CVE-2024-33502

Indicators of Compromise

  • HTTP or HTTPS requests to FortiManager or FortiAnalyzer management endpoints containing directory traversal sequences such as ../ or URL-encoded variants (%2e%2e%2f).
  • Unexpected file access, file creation, or process execution originating from the web management service account.
  • Administrative sessions performing atypical API calls against internal file paths outside standard workflows.

Detection Strategies

  • Inspect appliance HTTP/HTTPS access logs for requests containing traversal patterns targeting management API paths.
  • Correlate authenticated admin activity with subsequent process or file system changes on the appliance that fall outside normal management operations.
  • Alert on requests from privileged accounts that deviate from established administrative baselines, particularly from unusual source IP ranges.

Monitoring Recommendations

  • Forward FortiManager and FortiAnalyzer syslog and audit events to a centralized SIEM for retention and correlation.
  • Enable verbose logging on management interface authentication and API activity to support forensic review.
  • Monitor for privilege elevation, new administrator account creation, or configuration exports following suspicious HTTP requests.

How to Mitigate CVE-2024-33502

Immediate Actions Required

  • Upgrade FortiManager and FortiAnalyzer to fixed versions as specified in the Fortinet PSIRT advisory FG-IR-24-143.
  • Restrict management interface access to trusted administrative networks and jump hosts only.
  • Audit administrator accounts and rotate high-privilege credentials after patching.

Patch Information

Fortinet has released fixed builds addressing this vulnerability across the 7.4, 7.2, 7.0, 6.4, 6.2, and 6.0 branches. Refer to the Fortinet Security Advisory FG-IR-24-143 for the specific fixed version corresponding to each affected branch and apply the upgrade path recommended by the vendor.

Workarounds

  • Limit inbound access to the FortiManager and FortiAnalyzer administrative HTTPS interfaces using local-in policies and network ACLs.
  • Enforce multi-factor authentication for all administrative accounts to reduce the risk of credential-based exploitation.
  • Review and reduce the number of accounts holding high-level administrative privileges on the appliances.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.