2024-03-06 04:57:33 +00:00
|
|
|
id: maxforwards-headers-detect
|
2024-03-03 09:29:05 +00:00
|
|
|
|
2024-03-23 09:28:19 +00:00
|
|
|
info:
|
|
|
|
name: Max-Forwards Header - Detect
|
|
|
|
author: righettod
|
|
|
|
severity: info
|
|
|
|
description: Max-Forwards response header is specified.
|
|
|
|
reference:
|
|
|
|
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Max-Forwards
|
|
|
|
- https://http.dev/max-forwards
|
|
|
|
- https://twitter.com/irsdl/status/1337299267652825088
|
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
max-request: 1
|
|
|
|
shodan-query: "Max-Forwards:"
|
|
|
|
fofa-query: header="max-forwards"
|
|
|
|
tags: miscellaneous,misc,max-forwards
|
|
|
|
|
2024-03-03 09:29:05 +00:00
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'contains(to_lower(header), "max-forwards:")'
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: header
|
|
|
|
regex:
|
2024-03-06 04:57:33 +00:00
|
|
|
- '(?i)max-forwards:\s+([0-9]+)'
|
2024-03-25 11:57:16 +00:00
|
|
|
# digest: 4b0a00483046022100cb27d76c9918cf6ec6f9979f99f0cdd1bb1f28d4bcf282b5c49d8b3738a06eb4022100b7508374923d181443b67625f964def4c0b178770a2eee006ed36d10b0741ed5:922c64590222798bb761d5b6d8e72950
|