FortiOS and FortiProxy management interface (jsconsole)

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.

Published Updated Fortinet advisory FG-IR-24-535

ExploitedYes, in CISA KEVAdded 14 Jan 2025
Ransomware useKnownPer CISA
SeverityCRITICALCVSS 3.1 9.6
EPSS94%Chance of exploitation in 30 days
Public exploitYes
FixAvailable

Affected and fixed versions

Product / branchFixed in
FortiOS 7.0.0 to 7.0.167.0.17 or later
FortiProxy 7.2.0 to 7.2.127.2.13 or later
FortiProxy 7.0.0 to 7.0.197.0.20 or later
FortiOS 7.6, 7.4, 7.2, 6.4 and FortiProxy 7.6, 7.4, 2.0Not affected

Always confirm against the vendor advisory, which lists every fixed hotfix.

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.

Indicators of compromise

Admin names are randomly generated, so also look for any unexpected super_admin account. Arctic Wolf saw 5 or 6 character names. The addresses 1.1.1.1, 2.2.2.2, 8.8.8.8, 8.8.4.4, 127.0.0.1 and 13.37.13.37 that appear inside log entries are values the attacker typed in. Fortinet says not to use them for blocking.

The .txt list has one IP per line and a fixed address, so a firewall can pull it as an External Dynamic List: https://patchtonight.com/iocs/CVE-2024-55591.txt

IndicatorTypeReported by
45.55.158[.]47IPMost used attacker address in Fortinet's listFortinet, Arctic Wolf
87.249.138[.]47IPFortinet
155.133.4[.]175IPFortinet, Arctic Wolf
37.19.196[.]65IPFortinet, Arctic Wolf
149.22.94[.]37IPFortinet
158.255.215[.]126IPFortinet
23.27.140[.]65IPArctic Wolf
66.135.27[.]178IPArctic Wolf
157.245.3[.]251IPArctic Wolf
167.71.245[.]10IPArctic Wolf
137.184.65[.]71IPArctic Wolf
31.192.107[.]165IPArctic Wolf
64.190.113[.]25IPArctic Wolf
fortinet-supportAccount nameAdmin account created by the attackerFortinet
GujhmkAccount nameRandomly generated admin name; Fortinet lists several moreFortinet
Ed8x4kAccount nameFortinet
G0xgeyAccount nameFortinet
Pvnw81Account nameFortinet
Alg7c4Account nameFortinet
Ypda8aAccount nameFortinet
Kmi8p4Account nameFortinet
1a2n6tAccount nameFortinet
8ah1t6Account nameFortinet
M4ix9fAccount nameFortinet
kaliHost nameWorkstation used for DCSync after the firewall was taken overArctic Wolf

Sources

Spotted a mistake on this page? Tell us, and we'll fix it.

Page changelog

  • Full analysis published.

KEV status, EPSS score and vendor data refreshed automatically, last on 24 Nov 2026.

Get alerts

A notification when we publish a new analysis or a covered vendor gets a new actively exploited CVE. No account, no email.

Tell us what you think

What do you rely on here, what's missing, which vendor should we add? Every message is read by the editor.

Write to us

contact-us@patchtonight.com