Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2024-55591: Super-admin authentication bypass in FortiOS and FortiProxy

Published Jan 14, 2025 · Updated 1 day ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days10 mentions · peak 3 in a dayToday
CVSS9.8Critical · v3.1
EPSS94.3%100th percentile
CISA KEVYesAdded Jan 14, 2025
In the wildActivePer CISA KEV
Vendor
Fortinet
IdentifiersCVE-2024-55591CWE-288 · Authentication Bypass Using an…

CVE-2024-55591 is an authentication bypass using an alternate path or channel in the Node.js websocket module of Fortinet FortiOS and FortiProxy. An unauthenticated remote attacker can send crafted requests to the administrative interface to obtain super-admin privileges and execute administrative commands. Affected releases are FortiOS 7.0.0–7.0.16, FortiProxy 7.0.0–7.0.19, and FortiProxy 7.2.0–7.2.12. The vulnerability is actively exploited, including for initial access in ransomware operations.

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.

Successful exploitation permits complete administrative compromise of the affected appliance. Attackers can create privileged administrator and local user accounts, retrieve sensitive configurations, modify firewall policies and VPN group membership, and establish VPN access to internal resources. Observed follow-on activity includes credential theft, persistence, lateral movement, data exfiltration, and ransomware deployment. Updating an already compromised device does not eliminate attacker-created accounts or other persistence.

Mitigation

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

Disable HTTP/HTTPS administrative access where feasible. Otherwise, restrict it to trusted management networks or explicitly approved addresses using local-in policies that allow authorized sources and deny other administrative HTTP/HTTPS traffic. Match service objects to the actual management ports, including nondefault ports. Trusted-host restrictions are equivalent only when configured for every GUI user; local-in policies are preferred. Hunt for suspicious administrative websocket-console logins, unexpected privileged account creation, configuration changes, and associated VPN access. Do not assume source and destination address parameters embedded in suspicious console logs represent actual network endpoints; those values can be attacker-controlled.

Remediation

Patch, then assume compromise.

Upgrade FortiOS 7.0.0–7.0.16 to 7.0.17 or later, FortiProxy 7.0.0–7.0.19 to 7.0.20 or later, and FortiProxy 7.2.0–7.2.12 to 7.2.13 or later, following Fortinet's supported upgrade path. Investigate previously exposed devices even if they now appear patched. Remove unauthorized administrator and VPN accounts, suspicious automation tasks, and other persistence; rotate exposed administrator, VPN, and LDAP bind credentials. If compromise is detected, isolate the appliance while preserving logs and investigate connected systems for lateral movement.

Public exploits

Exploits

7 exploits validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit.

View more in app →
CVE-2024-55591-POCThis repository provides a comprehensive, operational Python-based exploit for CVE-2024-55591 (and CVE-2025-24472), targeting Fortinet FortiOS and FortiProxy devices. The exploit leverages a critical authentication bypass in the WebSocket/Telnet management interface, allowing attackers to gain super-admin CLI access without valid credentials. The repository includes three main Python scripts: - 'attack.py': The primary PoC for single-target exploitation, featuring dependency auto-installation, optional nmap port scanning, vulnerability checks, and interactive command execution post-exploit. - 'attack-v2.py': An enhanced version with more aggressive features, including parallel port/user exploitation, expanded username dictionaries, stealthier probes, and advanced post-exploitation commands. - 'mass-attack/attack.py': A multi-target version that reads a list of hosts, scans each for open ports, and attempts exploitation in both HTTP and HTTPS modes, supporting batch operations. The scripts check for the presence of the Fortinet management interface by probing endpoints such as '/login?redir=/ng' and 'service-worker.js?local_access_token=ScaryBYte', and confirm vulnerability by searching for specific strings in responses. Upon successful exploitation, the attacker is granted a Telnet-like CLI session, enabling execution of arbitrary system and diagnostic commands. The repository is well-documented, with detailed usage instructions, affected version ranges, and references to the official Fortinet advisory. The exploit is operational, not just a detection script, and is suitable for both targeted and mass exploitation scenarios.exfil0 · Disclosed Jan 29, 2025 · python · markdown · networkOperationalcve-2024-55591-pocThe repository contains a README and a single Go executable, `poc.go`. It is a standalone CVE-2024-55591 proof-of-concept/exploitation utility rather than a Metasploit, Nuclei, or similar framework module. The program accepts a target host, port, CLI command, username, token, TLS version, timeout, retry count, SSL choice, and verbosity settings. It first probes `/login?redir=/ng` for FortiOS-specific page markers, then checks `/service-worker.js?local_access_token=<token>` for vulnerable internal-routing exposure. If validation succeeds, it manually performs a WebSocket handshake to `/ws/cli/open`, crafts masked WebSocket frames without external WebSocket libraries, injects authentication-related frames intended to create an administrative CLI context, submits a CLI command, and parses/prints WebSocket responses. It supports HTTPS/WSS by default, optional HTTP/WS fallback, selectable TLS versions, retries, and intentionally skips TLS certificate verification. No fixed target IP address or domain is embedded; all network targets are supplied at runtime.uLl0a · Disclosed Sep 1, 2026 · go · markdown · network · webOperationalCVE-2024-55591This two-file repository contains a Python 3 proof-of-concept/operational exploit and a README. `CVE-2024-55591-PoC.py` implements CVE-2024-55591 against Fortinet FortiOS and FortiProxy management interfaces. It uses raw TCP/TLS sockets, handcrafted masked WebSocket frames, and concurrent workers to access `/ws/cli/open` with a forged `local_access_token`, aiming to obtain privileged CLI access without authentication. The code first fingerprints the target through the management login page and checks a service-worker response for an apparent vulnerable marker, unless preflight is disabled. Once successful, it runs a configurable FortiOS CLI command, optionally provides an interactive session, writes output to an operator-selected local file, and can create a new privileged administrator account. The repository is standalone rather than part of a recognized exploit framework; dependencies are `requests` and `urllib3`.gotr00t0day · Disclosed Oct 1, 2026 · python · networkOperationalfortios-auth-bypass-poc-CVE-2024-55591This repository contains a proof-of-concept (PoC) exploit for CVE-2024-55591, an authentication bypass vulnerability affecting Fortinet FortiOS (7.0.0-7.0.16) and FortiProxy (7.0.0-7.0.19, 7.2.0-7.2.12). The main exploit is implemented in 'poc.py', a Python script that establishes a TLS connection to the target device, upgrades the connection to a WebSocket session at a specific endpoint, and sends a crafted subscription message to access system event logs without authentication. The script demonstrates the vulnerability by printing received log data. The repository also includes a README with usage instructions, affected versions, and output examples. The exploit requires network access to the target's WebSocket service (default port 443) and does not require valid credentials. No weaponized payload is included; the PoC is limited to log retrieval via the bypassed authentication mechanism.sysirq · Disclosed Jan 21, 2025 · python · networkPoCCVE-2024-55591This repository provides a working proof-of-concept exploit for CVE-2024-55591, a critical authentication bypass vulnerability in Fortinet FortiOS and FortiProxy. The main exploit script (CVE-2024-55591.py) is a Python tool that connects to the target's WebSocket CLI interface using a hardcoded local_access_token and a crafted authentication string. By exploiting a race condition and improper validation of the local_access_token parameter, the script bypasses authentication and allows the attacker to execute arbitrary commands as a super-admin. The exploit requires the attacker to know a valid admin username and network access to the target's WebSocket CLI endpoint (typically on port 443). The repository also includes a detailed markdown writeup explaining the vulnerability, its root cause, and the patch diff analysis. No detection scripts or fake code are present; the exploit is functional and demonstrates the vulnerability's impact.virus-or-not · Disclosed Jan 24, 2025 · python · networkPoCfortios-auth-bypass-poc-CVE-2024-55591This repository contains a proof-of-concept (PoC) exploit for CVE-2024-55591, an authentication bypass vulnerability affecting Fortinet FortiOS (FortiGate) and FortiProxy management interfaces. The main file, 'CVE-2024-55591-PoC.py', is a Python script that performs pre-flight checks to confirm the target is a FortiOS management interface and is vulnerable. It then establishes a WebSocket connection to the management interface, exploiting a race condition and authentication bypass to send arbitrary CLI commands as an administrator. The script is configurable via command-line arguments for the target host, port, command to execute, and whether to use SSL. The README.md provides usage instructions, affected versions, and references to further technical details. The exploit is network-based, targeting HTTP/HTTPS endpoints exposed by the FortiOS management interface, and does not require prior authentication. The PoC demonstrates the ability to execute system commands and retrieve their output, confirming successful exploitation.watchtowrlabs · Disclosed Jan 27, 2025 · python · networkPoCCVE-2024-55591-POCThis repository contains a single Python proof-of-concept exploit (CVE 2024 55591 PoC.py) targeting CVE-2024-55591, a FortiOS WebSocket CLI authentication bypass vulnerability. The exploit allows unauthenticated attackers to connect to the FortiOS WebSocket CLI endpoint and execute arbitrary CLI commands, including resetting admin passwords. The script first verifies the target is a FortiOS device and checks for the presence of the vulnerability. It then establishes a WebSocket connection to the /ws/cli/open endpoint, bypasses authentication, and provides an interactive shell or executes a password reset script. The repository also includes a README with usage instructions and a LICENSE file. The main attack vector is network-based, targeting the FortiOS Web GUI (typically on port 443). The exploit is a functional PoC, not weaponized, and does not belong to any exploit framework.UMChacker · Disclosed May 26, 2025 · python · networkPoC
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
FortinetFortiosoperating_system
FortinetFortiproxyapplication
FAQ

Frequently asked questions

Is CVE-2024-55591 exploited in the wild?
Yes. As of Nov 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jan 14, 2025.
Is there a public exploit for CVE-2024-55591?
Yes. Mallory tracks 7 public exploits or proofs of concept for CVE-2024-55591, the earliest disclosed Jan 21, 2025.
Is there a patch for CVE-2024-55591?
Upgrade FortiOS 7.0.0–7.0.16 to 7.0.17 or later, FortiProxy 7.0.0–7.0.19 to 7.0.20 or later, and FortiProxy 7.2.0–7.2.12 to 7.2.13 or later, following Fortinet's supported upgrade path. Investigate previously exposed devices even if they now appear patched.
What products are affected by CVE-2024-55591?
Fortinet Fortios and Fortinet Fortiproxy.
How severe is CVE-2024-55591?
CVE-2024-55591 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 94.3% (100th percentile) as of Nov 16, 2026.
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 evidence48Every report linking this CVE to a named adversary.
Associated malware68Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity63Community discussion across Reddit, Mastodon, and other social sources.