2024-03-06 04:57:33 +00:00
|
|
|
id: maxforwards-headers-detect
|
2024-03-03 09:29:05 +00:00
|
|
|
|
|
|
|
info:
|
2024-03-06 04:57:33 +00:00
|
|
|
name: Max-Forwards Header - Detect
|
2024-03-03 09:29:05 +00:00
|
|
|
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:
|
2024-03-06 04:57:33 +00:00
|
|
|
verified: true
|
2024-03-03 09:29:05 +00:00
|
|
|
max-request: 1
|
|
|
|
shodan-query: "Max-Forwards:"
|
|
|
|
fofa-query: header="max-forwards"
|
2024-03-06 04:57:33 +00:00
|
|
|
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-06 05:50:06 +00:00
|
|
|
# digest: 4a0a0047304502205a4a4159f5e63c981e50fe5d76934de0c96a980c1e1c9409df665cf9dd0bb80602210087710a8fdd1724bc77f72ac8ba344eee7f2d50c4d16dc9a4e9cf27b7a5c966ac:922c64590222798bb761d5b6d8e72950
|