2022-05-05 18:13:11 +00:00
|
|
|
id: ms-exchange-server
|
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
|
2024-04-15 18:53:08 +00:00
|
|
|
description: Check for presence of Exchange Server 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
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: microsoft,exchange,tech
|
2021-03-04 05:15:16 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-03-03 19:09:10 +00:00
|
|
|
- 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:
|
2022-05-05 18:13:11 +00:00
|
|
|
- type: regex
|
|
|
|
part: header
|
|
|
|
regex:
|
|
|
|
- "(?i)(X-Owa-Version:)"
|
2021-03-04 05:15:16 +00:00
|
|
|
|
2021-03-03 19:09:10 +00:00
|
|
|
- type: regex
|
2022-05-05 18:13:11 +00:00
|
|
|
part: body
|
2021-03-03 19:09:10 +00:00
|
|
|
regex:
|
2022-05-05 18:13:11 +00:00
|
|
|
- "/owa/auth/[0-9.]+/"
|
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:
|
2022-05-05 18:13:11 +00:00
|
|
|
- x_owa_version
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- "/owa/auth/([0-9.]+)/"
|
2024-04-16 04:21:53 +00:00
|
|
|
# digest: 4b0a00483046022100e8484cafcf72702c1efa18e6748e9605823c6e6ffb900ed6ae7b07ebe42a5b68022100d4d9ae98dfd76f70057de120f75b0ec100fdae00d5092db6c16e014870e007af:922c64590222798bb761d5b6d8e72950
|