2023-07-18 15:16:33 +00:00
|
|
|
id: internal-ip-disclosure
|
2021-06-09 14:30:59 +00:00
|
|
|
|
|
|
|
info:
|
2023-07-18 16:07:04 +00:00
|
|
|
name: Internal IP Disclosure
|
2021-06-09 14:30:59 +00:00
|
|
|
author: WillD96
|
2021-06-09 16:45:55 +00:00
|
|
|
severity: info
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://support.kemptechnologies.com/hc/en-us/articles/203522429-How-to-Mitigate-Against-Internal-IP-Address-Domain-Name-Disclosure-In-Real-Server-Redirect
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: misconfig,disclosure
|
2021-06-09 14:30:59 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-06-09 14:30:59 +00:00
|
|
|
- raw:
|
2022-05-25 19:20:38 +00:00
|
|
|
- |+
|
|
|
|
GET / HTTP/1.0
|
|
|
|
Accept: */*
|
|
|
|
|
2021-06-09 14:30:59 +00:00
|
|
|
- |+
|
|
|
|
GET / HTTP/1.0
|
2021-06-09 16:45:55 +00:00
|
|
|
Host:
|
2021-06-09 14:30:59 +00:00
|
|
|
Accept: */*
|
|
|
|
|
2022-05-25 19:20:38 +00:00
|
|
|
stop-at-first-match: true
|
2021-06-09 16:45:55 +00:00
|
|
|
unsafe: true # Use Unsafe HTTP library for malformed HTTP requests.
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-06-09 16:45:55 +00:00
|
|
|
matchers-condition: and
|
2021-06-09 14:30:59 +00:00
|
|
|
matchers:
|
|
|
|
- type: regex
|
2022-05-25 19:20:38 +00:00
|
|
|
part: location
|
2021-06-09 14:30:59 +00:00
|
|
|
regex:
|
2024-05-02 18:51:27 +00:00
|
|
|
- '^(10(?:\.\d{1,3}){3}|192\.168(?:\.\d{1,3}){2}|172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})$'
|
2021-06-09 16:45:55 +00:00
|
|
|
|
2023-06-13 08:07:04 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- ip != location
|
|
|
|
|
2021-06-09 14:30:59 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
2022-05-25 19:20:38 +00:00
|
|
|
- 301
|
2021-06-09 14:30:59 +00:00
|
|
|
- 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
|
2022-05-25 19:20:38 +00:00
|
|
|
part: location
|
2021-06-09 15:04:53 +00:00
|
|
|
regex:
|
2024-05-02 18:51:27 +00:00
|
|
|
- '^(10(?:\.\d{1,3}){3}|192\.168(?:\.\d{1,3}){2}|172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})$'
|
2024-05-11 09:32:42 +00:00
|
|
|
# digest: 490a0046304402202ccecab303233a1e75a78c8d3912d25f4b57cea0f77bde7b02f472f4084515f602205c380911aaf6c5293902999ed0f4901d57b5451c7fe26b1f1d209e9fee407854:922c64590222798bb761d5b6d8e72950
|