nuclei-templates/http/misconfiguration/internal-ip-disclosure.yaml

50 lines
1.1 KiB
YAML
Raw Normal View History

id: internal-ip-disclosure
info:
2023-07-18 16:07:04 +00:00
name: Internal IP Disclosure
author: WillD96
2021-06-09 16:45:55 +00:00
severity: info
reference:
- https://support.kemptechnologies.com/hc/en-us/articles/203522429-How-to-Mitigate-Against-Internal-IP-Address-Domain-Name-Disclosure-In-Real-Server-Redirect
metadata:
max-request: 2
2023-10-14 11:27:55 +00:00
tags: misconfig,disclosure
http:
- raw:
- |+
GET / HTTP/1.0
Accept: */*
- |+
GET / HTTP/1.0
2021-06-09 16:45:55 +00:00
Host:
Accept: */*
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
matchers:
- type: regex
part: location
regex:
- '([0-9]{1,3}[\.]){3}[0-9]{1,3}'
2021-06-09 16:45:55 +00:00
2023-06-13 08:07:04 +00:00
- type: dsl
dsl:
- ip != location
- type: status
status:
- 301
- 302
2021-06-09 16:45:55 +00:00
extractors:
2021-06-09 15:04:53 +00:00
- type: regex
part: location
2021-06-09 15:04:53 +00:00
regex:
2023-06-13 08:07:04 +00:00
- '([0-9]{1,3}[\.]){3}[0-9]{1,3}'
# digest: 4a0a00473045022100be01acb985c09c3394bcce936ba1cc283802b1069e6fcc5f63196c772bd55f5a02207165d8ff2b202e511f03d2c75a241b2f933b85b3993f668651c3db8216243382:922c64590222798bb761d5b6d8e72950