# CVE-2024-55591: FortiGate admin login bypass gives attackers super-admin

An authentication bypass in the FortiOS and FortiProxy management interface lets an unauthenticated attacker become super-admin. Exploited as a zero-day since November 2024, listed by CISA with known ransomware use, and a public proof of concept exists.

- Vendor: Fortinet, FortiOS and FortiProxy management interface (jsconsole)
- Severity: CRITICAL (CVSS 3.1 9.6)
- Exploited (CISA KEV): yes, added 2025-01-14, known ransomware use
- EPSS: 94.3% on 2026-11-23
- Public exploit: yes
- Patch available: yes
- Vendor advisory: FG-IR-24-535, https://fortiguard.fortinet.com/psirt/FG-IR-24-535
- Published: 2025-01-14; updated: 2026-10-13
- Page: https://patchtonight.com/cve/CVE-2024-55591/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiOS 7.0.0 to 7.0.16 | 7.0.17 or later |
| FortiProxy 7.2.0 to 7.2.12 | 7.2.13 or later |
| FortiProxy 7.0.0 to 7.0.19 | 7.0.20 or later |
| FortiOS 7.6, 7.4, 7.2, 6.4 and FortiProxy 7.6, 7.4, 2.0 | Not affected |

## What it is

The FortiOS and FortiProxy web management interface has a built-in CLI console, **jsconsole**, served by a Node.js WebSocket module. Fortinet describes the bug as an authentication bypass that lets a remote, unauthenticated attacker get **super-admin** rights with crafted requests. It rates it critical (CVSS 9.8).

watchTowr explains how it works. A `local_access_token` query parameter makes the session check pass without validating its value. The server then forwards WebSocket messages to the CLI before it handles its own login context, so the attacker's login data wins a race. The CLI accepts a login context built from fixed values with no password, and the attacker picks the `super_admin` profile.

It was a **zero-day**. Arctic Wolf saw jsconsole abuse from mid-November 2024, weeks before the January 14, 2025 advisory. Attackers created admin accounts, set up SSL VPN users, then moved into the network and ran DCSync with domain admin credentials. CISA lists the CVE as used in ransomware campaigns. watchTowr has published a proof of concept, so any exposed, unpatched device is easy to hit.

The same Fortinet advisory also covers CVE-2025-24472, a related bypass through crafted CSF proxy requests.

## Am I affected?

You're affected if you run:

- **FortiOS 7.0.0 to 7.0.16**
- **FortiProxy 7.2.0 to 7.2.12**, or FortiProxy 7.0.0 to 7.0.19

**Not affected:** FortiOS 7.6, 7.4, 7.2 and 6.4, and FortiProxy 7.6, 7.4 and 2.0.

The websocket flaw needs the HTTP/HTTPS administrative interface reachable by the attacker. Fortinet's workarounds assume exactly this, so a management interface open to the internet is the highest risk. Check the version in the GUI dashboard or with `get system status`.

## What to do

**1. Upgrade** to FortiOS 7.0.17, FortiProxy 7.2.13 or FortiProxy 7.0.20, or later.

**2. If you can't upgrade tonight,** use one of Fortinet's workarounds:

- Restrict administrative access with local-in policies: create address, address group and local-in-policy objects that allow only trusted management IPs, followed by a deny rule for HTTP/HTTPS. Fortinet prefers this.
- Or disable the HTTP/HTTPS administrative interface. You lose GUI management, so plan for CLI or console access.
- Trusthost is equivalent only if **every** GUI admin has it configured.
- For the CSF issue (CVE-2025-24472), disable Security Fabric. This breaks Fabric features:

```
config system csf
   set status disable
end
```

**3. If the management interface was exposed while vulnerable,** assume compromise and check it (below). Cleanup:

- Delete admin accounts you didn't create, along with any VPN users or portals you don't recognise (the attackers also hijacked the default `guest` account, per Arctic Wolf).
- Rotate all admin, VPN, LDAP and RADIUS credentials and any pre-shared keys stored on the device.
- Review the configuration for changes and consider restoring from a known-good backup.
- Hunt for lateral movement from the firewall, including DCSync against domain controllers.

## Detection

Fortinet's advisory gives these log patterns:

- **Admin login:** `logdesc="Admin login successful"`, `ui="jsconsole"`, `method="jsconsole"`, `user="admin"`, `profile="super_admin"`, from an address you don't expect.
- **Admin creation:** `logdesc="Object attribute configured"`, `ui="jsconsole(127.0.0.1)"`, `action="Add"`, `cfgpath="system.admin"`, with `accprofile[super_admin]` and a random `cfgobj` name.

Arctic Wolf adds:

- jsconsole logins where login and logout happen within about a second.
- Log ID `0100044546` with `cfgpath="system.console"`, where the console output setting is switched between standard and more (reconnaissance).
- Local traffic to ports 8023 or 9980 on loopback matching jsconsole timestamps.
- New SSL VPN local users added to existing groups, and a reset password on `guest`.

Match source addresses against the indicators above. watchTowr published a detection script that checks whether a device accepts the unauthenticated WebSocket connection. It does not support FortiProxy.

## Sources

- [Fortinet advisory FG-IR-24-535](https://fortiguard.fortinet.com/psirt/FG-IR-24-535)
- [CISA Known Exploited Vulnerabilities catalog](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-55591)
- [Arctic Wolf, Console Chaos campaign](https://arcticwolf.com/resources/blog/console-chaos-targets-fortinet-fortigate-firewalls/)
- [watchTowr Labs analysis](https://labs.watchtowr.com/get-fortirekt-i-am-the-super_admin-now-fortios-authentication-bypass-cve-2024-55591/)
- [watchTowr proof of concept (GitHub)](https://github.com/watchtowrlabs/fortios-auth-bypass-poc-CVE-2024-55591)
- [Tenable blog on CVE-2024-55591](https://tenable.com/blog/cve-2024-55591-fortinet-authentication-bypass-zero-day-vulnerability-exploited-in-the-wild)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
