Add files via upload

patch-1
Dominique RIGHETTO 2023-11-10 12:15:56 +01:00 committed by GitHub
parent a52afef63e
commit 3fa9998e14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,37 @@
id: microsoft-exchange-user-enumeration
info:
name: Microsoft Exchange Autodiscover - User Enumeration
author: righettod
severity: info
description: Microsoft Exchange (on premise) is prone to a user enumeration via the ActiveSync protocol using the AutodiscoverV2 endpoint.
reference:
- https://www.msxfaq.de/exchange/autodiscover/autodiscover_v2.htm
classification:
cwe-id: CWE-204
metadata:
max-request: 1
tags: exchange,microsoft,misconfig,intrusive
http:
- method: GET
path:
- "{{BaseURL}}/autodiscover/autodiscover.json?Protocol=ActiveSync&Email={{rand_text_alpha(6)}}%40domain.com&RedirectCount=1"
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:
- '(?i)Email=([A-Za-z0-9@%.-]+)'