Description
An authentication bypass vulnerability exists in the WordPress Pie Register plugin ≤ 3.7.1.4 that allows unauthenticated attackers to impersonate arbitrary users by submitting a crafted POST request to the login endpoint. By setting social_site=true and manipulating the user_id_social_site parameter, an attacker can generate a valid WordPress session cookie for any user ID, including administrators. Once authenticated, the attacker may exploit plugin upload functionality to install a malicious plugin containing arbitrary PHP code, resulting in remote code execution on the underlying server.
Problem types
CWE-434 Unrestricted Upload of File with Dangerous Type
CWE-306 Missing Authentication for Critical Function
CWE-94 Improper Control of Generation of Code ('Code Injection')
Product status
Any version
Credits
Lotfi13-DZ
References
github.com/...oits/unix/webapp/wp_pie_register_bypass_rce.rb
www.exploit-db.com/exploits/50395
pieregister.com/
github.com/GTSolutions/Pie-Register
wordpress.org/plugins/pie-register/
vulncheck.com/advisories/wordpress-pie-register-plugin-rce