nuclei-templates/http/fuzzing/xff-403-bypass.yaml

29 lines
862 B
YAML
Raw Normal View History

2021-05-09 17:10:56 +00:00
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
2024-11-03 19:56:22 +00:00
tags: fuzzing,xff-403-bypass
2021-05-09 17:10:56 +00:00
http:
2021-05-09 17:10:56 +00:00
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
Accept: */*
2024-11-03 19:56:22 +00:00
2021-05-09 17:10:56 +00:00
- |
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"
2024-11-04 05:24:51 +00:00
# digest: 490a00463044022064b72c0996c3236f204b2041ff0a1a1ca436da0b76ceb3c0f0c18e9ab5bc328d02202619b0d7d688d1776bf638030279331c072a84d161a94c665007c830aa817c25:922c64590222798bb761d5b6d8e72950