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.25403
    epss-percentile: 0.96292
    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: 4a0a00473045022100cf705c537badfe00f6cf57d002a9261f2df783182f6e41795b7070dd044e9d9202204e099b2157173fd5ad57200f79d1020c847cd6ef7d5e5d391e2083591f3cc611:922c64590222798bb761d5b6d8e72950