2021-03-06 14:49:32 +00:00
|
|
|
id: microsoft-exchange-server-detect
|
2021-03-03 19:09:10 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: Microsoft Exchange Server Detect
|
2021-08-19 20:44:42 +00:00
|
|
|
author: pikpikcu,dhiyaneshDK
|
2021-03-03 19:09:10 +00:00
|
|
|
severity: info
|
2021-08-20 12:34:08 +00:00
|
|
|
description: Check for Exchange Server CVEs CVE-2021-26855, CVE-2021-26857, CVE-2021-26858 and CVE-2021-27065, using Outlook Web App path data.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/GossiTheDog/scanning/blob/main/http-vuln-exchange.nse
|
2021-08-19 20:44:42 +00:00
|
|
|
tags: microsoft,exchange,tech
|
2021-03-04 05:15:16 +00:00
|
|
|
|
2021-03-03 19:09:10 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/owa/auth/logon.aspx"
|
|
|
|
|
2021-08-19 20:44:42 +00:00
|
|
|
matchers-condition: or
|
2021-03-03 19:09:10 +00:00
|
|
|
matchers:
|
2021-03-04 05:15:16 +00:00
|
|
|
|
2021-03-03 19:09:10 +00:00
|
|
|
- type: regex
|
|
|
|
regex:
|
2021-03-04 15:01:21 +00:00
|
|
|
- "(X-Owa-Version:|/owa/auth/15.2.*|/owa/auth/15.1.*|/owa/auth/15.0.*|/owa/auth/14.0.*)"
|
2022-04-20 14:38:07 +00:00
|
|
|
part: response
|
2021-03-04 15:01:21 +00:00
|
|
|
|
2021-08-19 20:44:42 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- '<title>Exchange Log In</title>'
|
|
|
|
- '<title>Microsoft Exchange - Outlook Web Access</title>'
|
|
|
|
|
2021-03-03 19:09:10 +00:00
|
|
|
extractors:
|
|
|
|
- type: kval
|
|
|
|
kval:
|
2021-08-19 20:44:42 +00:00
|
|
|
- X_Owa_Version
|