
FortiWeb の CVE-2025-25257 向け Python ベースのエクスプロイトツール。脆弱なターゲットに対する SQL インジェクションの検出、ウェブシェルのアップロード、リモートコマンド実行を自動化します。
FortiWebデバイスにおけるCVE-2025-25257の脆弱性を確認・悪用するためのPythonベースのツール。この脆弱性は、細工されたAuthorizationヘッダーを介してSQLインジェクションとリモートコード実行を可能にします。
CVE-2025-25257はFortiWebデバイスにおける深刻な脆弱性であり、以下を可能にします:
pip install requests urllib3
git clone https://github.com/yourusername/CVE-2025-25257.git
cd CVE-2025-25257
pip install -r requirements.txt
vuln_check.py)単一のターゲットをチェック:
python3 vuln_check.py -t https://target.com
ファイルから複数のターゲットをチェック:
python3 vuln_check.py -l target.txt
exp.py)脆弱なターゲットでコマンドを実行:
python3 exp.py -t https://target.com -c "id"
vuln_check.py - メインの脆弱性チェッカーおよびエクスプロイトexp.py - 脆弱なターゲット向けのコマンド実行ツールtarget.txt - ターゲットのサンプルリスト(ご自身で置き換えてください)vuln.txt - 脆弱なターゲットの出力ファイル(スキャン後に生成)/api/fabric/device/statusを悪用/cgi-bin/x.cgiにWebシェルを書き込みツールは以下の内容を含むvuln.txtファイルを生成します:
出力例:
# CVE-2025-25257 Vulnerable Targets - 2025-01-27 10:30:15
# Format: [timestamp] target - command_output
[2025-01-27 10:30:15] https://target.com - uid=0(root) gid=0(root) groups=0(root)
クレジット:0xbigshaq