Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2024-23666: Authorization bypass in Fortinet FortiManager, FortiAnalyzer, and FortiAnalyzer-BigData

Published Nov 12, 2024 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.8High · v3.1
EPSS2.3%84th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Fortinet
IdentifiersCVE-2024-23666CWE-602 · Client-Side Enforcement of…

CVE-2024-23666 is a client-side enforcement of server-side security vulnerability in Fortinet FortiManager, FortiAnalyzer, and FortiAnalyzer-BigData. Insufficient server-side authorization allows an authenticated user with at least read-only permissions to execute sensitive operations through crafted requests. In FortiManager, a user with the Restricted_User profile can invoke administrative functions through FlatUI and WebSocket-backed interfaces, including full system configuration backup, the upload stage of configuration import, and access to the remote SSH web console for managed FortiGate devices. Affected FortiManager and FortiAnalyzer versions include 7.4.0–7.4.1, 7.2.0–7.2.4, 7.0.0–7.0.11, and 6.4.0–6.4.14. Listed affected FortiAnalyzer-BigData releases include 7.4.0, 7.2.0–7.2.6, 7.0.1–7.0.6, 6.4.5–6.4.7, and 6.2.5.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Low-privilege authenticated users can perform sensitive operations beyond their authorized permissions. In FortiManager, unauthorized configuration export exposes configuration data for the manager and managed FortiGate devices, including hashed or encrypted passwords and keys. Weak privileged-account passwords may be recovered from exported hashes, enabling privilege escalation. Unauthorized access to the configuration-import upload stage can be chained with CVE-2023-42791 to obtain root code execution on FortiManager; this is a chained outcome rather than an established standalone capability of CVE-2024-23666. Access to the remote SSH web console also enables access to or modification of managed FortiGate configurations when valid device credentials are available.

Mitigation

If you can’t patch tonight, do this now.

As an interim measure, restrict network access to the management interfaces of affected products and monitor for suspicious or unauthorized requests. Apply principle of least privilege and review access logs for signs of exploitation until patches can be applied.

Remediation

Patch, then assume compromise.

Upgrade FortiAnalyzer and FortiManager to 7.4.3 or later, 7.2.6 or later, 7.0.13 or later, or 6.4.15 or later within the corresponding release branch. Upgrade FortiAnalyzer-BigData 7.4.0 to 7.4.1 or later and affected 7.2 releases to 7.2.7 or later. Migrate FortiAnalyzer-BigData 7.0, 6.4, and 6.2 installations to a fixed release. FortiAnalyzer and FortiManager 7.6 are not affected.

Public exploits

Exploits

1 exploit validated by Mallory's analysis.

View more in app →
CVE-2023-42791_CVE-2024-23666This repository contains two main Python scripts for exploiting vulnerabilities in FortiManager and related Fortinet products: 1. rce.py: This script exploits insufficient authorization and unrestricted file upload vulnerabilities (CVE-2023-42791, CVE-2024-23666) to achieve remote code execution or privilege escalation. It allows an attacker with valid (even low-privileged) credentials to upload a malicious shared library and supporting files to the target device. The exploit can either spawn a reverse shell (using a Python one-liner) or create a new administrator account by uploading crafted files and triggering their execution via manipulation of /etc/ld.so.preload. The script interacts with the FortiManager's web API endpoints over HTTPS. 2. ManagerGate.py: This script provides a way to connect to managed FortiGate SSH services via the FortiManager, leveraging credentials and device information. It uses asynchronous Python and websockets to interact with the FortiManager's internal APIs, allowing the attacker to open a shell on managed FortiGate devices (SSH password for the FortiGate is still required, but may be retrievable from FortiManager backups). The repository is well-structured, with clear separation between the two exploitation techniques. The README provides detailed usage instructions, affected versions, and references. The main attack vector is network-based, targeting FortiManager's web interface. Several fingerprintable endpoints are present, including specific API paths and file system locations on the target device. The exploit is operational, providing working payloads and automation for both reverse shell and privilege escalation scenarios.synacktiv · Disclosed Feb 12, 2025 · python · networkOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
FortinetFortianalyzeroperating_system
FortinetFortianalyzer-Bigdataapplication
FortinetFortimanageroperating_system
FAQ

Frequently asked questions

Is CVE-2024-23666 exploited in the wild?
As of Oct 6, 2026, Mallory has no reports of CVE-2024-23666 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2024-23666?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2024-23666, the earliest disclosed Feb 12, 2025.
Is there a patch for CVE-2024-23666?
Upgrade FortiAnalyzer and FortiManager to 7.4.3 or later, 7.2.6 or later, 7.0.13 or later, or 6.4.15 or later within the corresponding release branch. Upgrade FortiAnalyzer-BigData 7.4.0 to 7.4.1 or later and affected 7.2 releases to 7.2.7 or later.
What products are affected by CVE-2024-23666?
Fortinet Fortianalyzer, Fortinet Fortianalyzer-Bigdata, and Fortinet Fortimanager.
How severe is CVE-2024-23666?
CVE-2024-23666 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 2.3% (84th percentile) as of Oct 6, 2026.
Activity feed

Recent activity

2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.