2021-06-09 14:30:59 +00:00
|
|
|
id: iis-internal-ip-disclosure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: IIS Internal IP Disclosure Template
|
|
|
|
author: WillD96
|
2021-06-09 16:45:55 +00:00
|
|
|
severity: info
|
|
|
|
tags: iis,misconfig,disclosure
|
|
|
|
reference: https://support.kemptechnologies.com/hc/en-us/articles/203522429-How-to-Mitigate-Against-Internal-IP-Address-Domain-Name-Disclosure-In-Real-Server-Redirect
|
2021-06-09 14:30:59 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |+
|
|
|
|
GET / HTTP/1.0
|
2021-06-09 16:45:55 +00:00
|
|
|
Host:
|
2021-06-09 15:04:53 +00:00
|
|
|
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0
|
2021-06-09 14:30:59 +00:00
|
|
|
Accept: */*
|
|
|
|
|
2021-06-09 16:45:55 +00:00
|
|
|
unsafe: true # Use Unsafe HTTP library for malformed HTTP requests.
|
|
|
|
matchers-condition: and
|
2021-06-09 14:30:59 +00:00
|
|
|
matchers:
|
|
|
|
- type: regex
|
2021-07-26 09:48:10 +00:00
|
|
|
part: header
|
2021-06-09 14:30:59 +00:00
|
|
|
regex:
|
|
|
|
- '([0-9]{1,3}[\.]){3}[0-9]{1,3}'
|
2021-06-09 16:45:55 +00:00
|
|
|
|
2021-06-09 14:30:59 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 302
|
2021-06-09 16:45:55 +00:00
|
|
|
|
2021-06-09 14:30:59 +00:00
|
|
|
extractors:
|
2021-06-09 15:04:53 +00:00
|
|
|
- type: regex
|
|
|
|
part: header
|
|
|
|
regex:
|
2021-06-09 16:45:55 +00:00
|
|
|
- '([0-9]{1,3}[\.]){3}[0-9]{1,3}'
|