Files
nuclei-templates/http/miscellaneous/maxforwards-headers-detect.yaml
2025-10-26 16:17:37 +00:00

34 lines
990 B
YAML

id: maxforwards-headers-detect
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,vuln
http:
- method: GET
path:
- "{{BaseURL}}"
matchers:
- type: dsl
dsl:
- 'contains(to_lower(header), "max-forwards:")'
extractors:
- type: regex
part: header
regex:
- '(?i)max-forwards:\s+([0-9]+)'
# digest: 4a0a00473045022100ae86e30d904081d08bfd638a4d87423d6360eb5ee8a834b261e2805d1965a6b5022049a27487e56bc625f5738e1b9ac650b12e345efad8f7c9a01c51ea68efd5a996:922c64590222798bb761d5b6d8e72950