34 lines
907 B
YAML
34 lines
907 B
YAML
id: microsoft-exchange-server-detect
|
|
|
|
info:
|
|
name: Microsoft Exchange Server Detect
|
|
author: pikpikcu,dhiyaneshDK
|
|
severity: info
|
|
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.
|
|
reference:
|
|
- https://github.com/GossiTheDog/scanning/blob/main/http-vuln-exchange.nse
|
|
tags: microsoft,exchange,tech
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/owa/auth/logon.aspx"
|
|
|
|
matchers-condition: or
|
|
matchers:
|
|
|
|
- type: regex
|
|
regex:
|
|
- "(X-Owa-Version:|/owa/auth/15.2.*|/owa/auth/15.1.*|/owa/auth/15.0.*|/owa/auth/14.0.*)"
|
|
part: response
|
|
|
|
- type: word
|
|
words:
|
|
- '<title>Exchange Log In</title>'
|
|
- '<title>Microsoft Exchange - Outlook Web Access</title>'
|
|
|
|
extractors:
|
|
- type: kval
|
|
kval:
|
|
- X_Owa_Version
|