mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-10 04:33:31 +08:00
46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
id: ms-exchange-server
|
|
|
|
info:
|
|
name: Microsoft Exchange Server Detect
|
|
author: pikpikcu,dhiyaneshDK
|
|
severity: info
|
|
description: Check for presence of Exchange Server using Outlook Web App path data.
|
|
reference:
|
|
- https://github.com/GossiTheDog/scanning/blob/main/http-vuln-exchange.nse
|
|
metadata:
|
|
max-request: 1
|
|
tags: microsoft,exchange,tech,discovery
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/owa/auth/logon.aspx"
|
|
|
|
matchers-condition: or
|
|
matchers:
|
|
- type: regex
|
|
part: header
|
|
regex:
|
|
- "(?i)(X-Owa-Version:)"
|
|
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- "/owa/auth/[0-9.]+/"
|
|
|
|
- type: word
|
|
words:
|
|
- '<title>Exchange Log In</title>'
|
|
- '<title>Microsoft Exchange - Outlook Web Access</title>'
|
|
|
|
extractors:
|
|
- type: kval
|
|
kval:
|
|
- x_owa_version
|
|
|
|
- type: regex
|
|
part: body
|
|
group: 1
|
|
regex:
|
|
- "/owa/auth/([0-9.]+)/"
|
|
# digest: 4b0a00483046022100c18be1dd22876f81e41e9de0355a2defd5d157598d82a78f5fe36c1f7535ec29022100e977b8a97635a369fdea62ffa5cc43d5a0d7c708004f33753c703db6a7e8f089:922c64590222798bb761d5b6d8e72950 |