2023-11-16 16:44:28 +05:30
|
|
|
id: ms-exchange-user-enum
|
2023-11-10 12:15:56 +01:00
|
|
|
|
|
|
|
|
info:
|
|
|
|
|
name: Microsoft Exchange Autodiscover - User Enumeration
|
|
|
|
|
author: righettod
|
|
|
|
|
severity: info
|
2023-11-12 16:24:07 +05:30
|
|
|
description: |
|
|
|
|
|
Microsoft Exchange (on premise) is prone to a user enumeration via the ActiveSync protocol using the AutodiscoverV2 endpoint.
|
2023-11-10 12:15:56 +01:00
|
|
|
reference:
|
|
|
|
|
- https://www.msxfaq.de/exchange/autodiscover/autodiscover_v2.htm
|
2023-11-12 16:24:07 +05:30
|
|
|
- https://github.com/righettod/toolbox-pentest-web/blob/master/docs/4-HINTS_ARCHIVED.md#user-enumeration-techniques-for-microsoft-exchange
|
2024-09-10 14:38:16 +05:30
|
|
|
classification:
|
|
|
|
|
cpe: cpe:2.3:a:microsoft:exchange_server:*:*:*:*:*:*:*:*
|
2023-11-10 12:15:56 +01:00
|
|
|
metadata:
|
2023-11-12 16:24:07 +05:30
|
|
|
verified: true
|
2023-11-16 11:28:57 +00:00
|
|
|
max-request: 1
|
2024-09-10 13:52:50 +05:30
|
|
|
vendor: microsoft
|
2024-09-10 14:38:16 +05:30
|
|
|
product: exchange_server
|
2025-05-27 10:39:47 +08:00
|
|
|
shodan-query: http.title:outlook exchange
|
2025-10-17 14:17:02 +02:00
|
|
|
tags: ms-exchange,microsoft,misconfig,enum,vuln
|
2023-11-10 12:15:56 +01:00
|
|
|
|
|
|
|
|
http:
|
|
|
|
|
- method: GET
|
|
|
|
|
path:
|
2023-11-12 16:24:07 +05:30
|
|
|
- "{{BaseURL}}/autodiscover/autodiscover.json?Protocol=ActiveSync&Email={{rand_text_alpha(6)}}%40oast.pro&RedirectCount=1"
|
2023-11-10 12:15:56 +01:00
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
|
matchers:
|
|
|
|
|
- type: word
|
|
|
|
|
part: header
|
|
|
|
|
words:
|
|
|
|
|
- "/autodiscover/autodiscover.json?Email="
|
|
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
|
status:
|
|
|
|
|
- 302
|
|
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
|
- type: regex
|
|
|
|
|
part: header
|
|
|
|
|
group: 1
|
|
|
|
|
regex:
|
2024-01-02 10:19:48 -05:00
|
|
|
- '(?i)Email=([A-Za-z0-9@%.-_]+)'
|
2025-10-26 16:17:34 +00:00
|
|
|
# digest: 4a0a00473045022100c55f5ed37a10bd1a1d792b51b7aae594deee824a4dbb29430a8459a728223741022049432806faef44c7b3eb25d9026056f7b4a46575c79d3807743d2f18cf136d4e:922c64590222798bb761d5b6d8e72950
|