In late November and December 2024, Arctic Wolf observed evidence of a mass compromise of Fortinet FortiGate. While the initial attack vector was unknown at the time, evidence of compromise (with new users and SSL profiles) was consistent across compromised devices.
On January 14, Fortinet released a formal statement and patch. The vulnerability is an Authentication Bypass via crafted requests to Node.js websocket module and issued CVE-2024-55591. The CVSSv3 score is 9.6.
Following login activity log with random scrip and dstip:
type="event" subtype="system" level="information" vd="root" logdesc="Admin login successful" sn="1733486785" user="admin" ui="jsconsole" method="jsconsole" srcip=1.1.1.1 dstip=1.1.1.1 action="login" status="success" reason="none" profile="super_admin" msg="Administrator admin logged in successfully from jsconsole"
Following admin creation log with seemingly randomly generated username and source IP:
type="event" subtype="system" level="information" vd="root" logdesc="Object attribute configured" user="admin" ui="jsconsole(127.0.0.1)" action="Add" cfgtid=1411317760 cfgpath="system.admin" cfgobj="vOcep" cfgattr="password[*]accprofile[super_admin]vdom[root]" msg="Add system.admin vOcep"
The following IP addresses were those mostly used by attackers in the above logs (Please note that IP address is under attacker control and therefore can be any other IP):
First, shut down the management port for HTTP/HTTPS and analyze your logs for the existing IoCs, as well as anomalous SSL profiles. This may indicate an existing compromise requiring Incident Response.
If you do not believe you are currently compromised, apply the appropriate immediately possible. Fortinet has instructions for upgrade on their website.
If you are unable to apply the patch immediately, we recommend:
Trustwave is not vulnerable to this issue. Trustwave will continue to monitor this developing situation, and we remain on standby for our clients to provide further details as more information becomes available.