MODULE

WP User Registration and Membership Unauthenticated Privilege Escalation (CVE-2025-2563)

Try Surface Command Get a continuous 360° view of your attack surface
Back to Search

WP User Registration and Membership Unauthenticated Privilege Escalation (CVE-2025-2563)

Disclosed
03/24/2025
Created
05/14/2025

Description

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.

Author(s)

  • wesley (wcraft)
  • Valentin Lobstein

Platform

Linux,PHP,Unix,Windows

Architectures

php, cmd

Development

Module Options

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

;