X-Forwarded-For 403-forbidden bypass
ID: xff-403-bypass
Severity: info
Author: vavkamil
Tags: fuzzing,xff-403-bypass
Description
Section titled “Description”Template to detect 403 forbidden endpoint bypass behind Nginx/Apache proxy & load balancers, based on X-Forwarded-For header.
YAML Source
Section titled “YAML Source”id: xff-403-bypass
info: name: X-Forwarded-For 403-forbidden bypass author: vavkamil severity: info description: Template to detect 403 forbidden endpoint bypass behind Nginx/Apache proxy & load balancers, based on X-Forwarded-For header. metadata: max-request: 3 tags: fuzzing,xff-403-bypass
http: - raw: - | GET / HTTP/1.1 Host: {{Hostname}} Accept: */*
- | GET / HTTP/1.1 Host: {{Hostname}} Accept: */* X-Forwarded-For: 127.0.0.1, 0.0.0.0, 192.168.0.1, 10.0.0.1, 172.16.0.1
matchers: - type: dsl dsl: - "status_code_1 == 403 && status_code_2 != 403"# digest: 4a0a00473045022100e2dcf717113015be1556a9a8451a7c81c863b7df616bccfc4e1e6badbe86726d02202a9b0193ed24cc5b73f3726af7f04a64263175c29de4dc97da15b197d484fed4: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/fuzzing/xff-403-bypass.yaml"