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

CVE-2024-45328: Fortinet FortiSandbox Privilege Escalation

CVE-2024-45328 is a privilege escalation vulnerability in Fortinet FortiSandbox allowing low-privileged administrators to execute elevated CLI commands via the GUI console menu. This article covers technical details, affected versions, security impact, and mitigation strategies.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-45328 Overview

CVE-2024-45328 is an incorrect authorization vulnerability [CWE-863] affecting Fortinet FortiSandbox versions 4.4.0 through 4.4.6. The flaw allows a low-privileged administrator to execute elevated command-line interface (CLI) commands through the graphical user interface (GUI) console menu. Successful exploitation leads to privilege escalation on the appliance, with high impact to confidentiality, integrity, and availability. The attack requires local access and low privileges but no user interaction.

Critical Impact

A low-privileged administrator can bypass role-based access controls and run elevated CLI commands via the FortiSandbox GUI console, resulting in full compromise of the sandbox appliance.

Affected Products

  • Fortinet FortiSandbox 4.4.0
  • Fortinet FortiSandbox 4.4.1 through 4.4.5
  • Fortinet FortiSandbox 4.4.6

Discovery Timeline

  • 2025-03-11 - CVE-2024-45328 published to the National Vulnerability Database (NVD)
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-45328

Vulnerability Analysis

FortiSandbox exposes an in-GUI console menu that forwards operator input to the underlying CLI. The console does not correctly validate whether the authenticated administrator holds sufficient privilege for each requested command. As a result, an administrator assigned a low-privilege role can issue commands reserved for higher-privilege roles.

Because the authorization check occurs at the GUI layer rather than being consistently enforced at the CLI command dispatcher, role boundaries break down once input reaches the backend. An attacker abusing this gap can modify system configuration, read sensitive data, or disrupt sandbox analysis operations.

The weakness is classified as [CWE-863] Incorrect Authorization. It is distinct from a missing authorization check; the system performs a check, but applies the wrong policy decision for the requested action.

Root Cause

The root cause is inconsistent enforcement of role-based access control between the GUI console menu and the CLI command handler in FortiSandbox 4.4.0 through 4.4.6. Privilege verification is not performed on each CLI command dispatched through the console interface.

Attack Vector

Exploitation requires an authenticated session on the FortiSandbox management interface with a low-privileged administrator account. The attacker opens the GUI console menu and submits CLI commands that the role should not be authorized to execute. No user interaction from another operator is required. Refer to the Fortinet PSIRT Advisory FG-IR-24-261 for vendor-provided technical detail.

No verified public proof-of-concept code is available for this vulnerability. The vulnerability mechanism is described in prose only, consistent with the information published by Fortinet PSIRT.

Detection Methods for CVE-2024-45328

Indicators of Compromise

  • Audit log entries showing CLI commands executed by administrator accounts that lack the corresponding role permissions.
  • Unexpected configuration changes to scan profiles, network interfaces, or system settings performed by low-privilege operators.
  • New or modified administrator accounts, SSH keys, or trusted host entries that cannot be mapped to a change request.

Detection Strategies

  • Correlate GUI session identifiers with CLI command execution logs to detect command use that exceeds the user's assigned role.
  • Baseline the set of CLI commands each administrator role normally issues and alert on deviations.
  • Review FortiSandbox event logs for the console menu invocations tied to accounts that only hold read or operator-level privileges.

Monitoring Recommendations

  • Forward FortiSandbox administrative and system logs to a centralized log platform for retention and correlation.
  • Enable alerting on changes to administrator accounts, roles, and authentication settings on the appliance.
  • Monitor outbound connections from the FortiSandbox management interface for signs of post-exploitation activity.

How to Mitigate CVE-2024-45328

Immediate Actions Required

  • Upgrade FortiSandbox to a fixed release as listed in Fortinet PSIRT Advisory FG-IR-24-261.
  • Audit all administrator accounts on FortiSandbox and remove accounts that are not strictly required.
  • Rotate credentials for any administrator account that could have accessed the GUI console menu on an affected version.

Patch Information

Fortinet addresses CVE-2024-45328 in versions released after FortiSandbox 4.4.6. Review Fortinet PSIRT Advisory FG-IR-24-261 for the exact fixed build and upgrade path applicable to your deployment.

Workarounds

  • Restrict management-plane access to FortiSandbox to a dedicated administrative network and a short list of trusted hosts.
  • Limit administrator accounts to the minimum role required and avoid issuing low-privilege accounts to users who do not need appliance access.
  • Enforce multi-factor authentication on administrator logins to raise the cost of credential compromise that would enable this local attack.
bash
# Configuration example: restrict management access and review admin roles on FortiSandbox CLI
config system global
    set admin-restrict-local enable
end

config system admin
    edit <admin-name>
        set trusthost1 <management-subnet>
        set accprofile <least-privilege-profile>
    next
end

# Review recent administrator activity
diagnose system admin list

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.