Max-Forwards Header - Detect
ID: maxforwards-headers-detect
Severity: info
Author: righettod
Tags: miscellaneous,misc,max-forwards
Description
Section titled “Description”Max-Forwards response header is specified.
YAML Source
Section titled “YAML Source”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
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: 4a0a0047304502205c29e455d27fad665079c7ed2fae67096306c9b2f6b3dfc34193698e3d830672022100ccaefc48fcb6b38db88234dbe5bfa7eb2b4983f430ec54063db8f2ec715e4cfe:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/miscellaneous/maxforwards-headers-detect.yaml"