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.9165
    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: 4b0a004830460221008ac9eb22106d28a1dbef917bd16e02b7117bd28d9d6714bb2d22329e7747dff202210092bbd44842d36ece8fedcf9adcb53d5974a7f0668b41b7ec341c2f9b2fc27553:922c64590222798bb761d5b6d8e72950