ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Cracking Tutorials

⭐ FortiOS: Become Super_Admin Over a Websocket You Never Authenticated

Submitted by TheMekanic at 23-11-2026, 10:02 PM


DIAMOND ⭐ FortiOS: Become Super_Admin Over a Websocket You Never Authenticated
137 Views
TheMekanic's Avatar'
TheMekanic
Offline
#1
CVE-2024-55591 is an authentication bypass in the FortiOS Node.js web server that backs SSL-VPN and the admin interface. The jsconsole WebSocket endpoint sits behind port 443 and does its own session handling, entirely separate from the normal login path.
It trusts the
Code:
Host
header and a crafted upgrade request. Send the right JSON frames down the socket and the backend treats you as already authenticated — because it never checks whether you completed the handshake it thinks you completed.Then you don't just get read access. The console exposes the same calls the GUI uses, including administrator creation, so the first thing you do is make yourself a
Code:
super_admin
and log in normally afterwards.It was exploited as a zero-day by a group tracked as Mora_001, and the initial access pattern was exactly this: internet-facing FortiGate, jsconsole, new admin, then lateral movement.
Attack Flow:
[ Hidden Content! ]

  1. Identify FortiGate appliances exposing 443 with the SSL-VPN portal or
    Code:
    /remote/login
  2. Open a WebSocket upgrade to the jsconsole endpoint, spoofing a local
    Code:
    Host
    header
  3. Send the crafted frames to enter the CLI context
  4. Code:
    get system status
    to confirm you're in and fingerprint the build
  5. Push the admin-creation call — username,
    Code:
    accprofile
    set to
    Code:
    super_admin
  6. Reconnect through the normal login with your new credentials
Fixed in 7.0.17 and above, 7.2.13 and above.

0
Reply


Messages In This Thread
⭐ FortiOS: Become Super_Admin Over a Websocket You Never Authenticated - by TheMekanic - 23-11-2026, 10:02 PM


Users browsing this thread: