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
|
|
|
|
author: pikpikcu
|
|
|
|
severity: info
|
|
|
|
reference: https://github.com/GossiTheDog/scanning/blob/main/http-vuln-exchange.nse
|
|
|
|
description: |
|
2021-03-04 05:15:16 +00:00
|
|
|
Check for Exchange Server CVEs CVE-2021-26855, CVE-2021-26857, CVE-2021-26858 and CVE-2021-27065,using Outlook Web App path data.
|
|
|
|
|
2021-03-03 19:09:10 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/owa/auth/logon.aspx"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
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.*)"
|
2021-03-04 05:15:16 +00:00
|
|
|
part: all
|
2021-03-04 15:01:21 +00:00
|
|
|
|
2021-03-03 19:09:10 +00:00
|
|
|
extractors:
|
|
|
|
- type: kval
|
|
|
|
part: header
|
|
|
|
kval:
|
|
|
|
- X-Owa-Version
|