Session Management
Sep 19, 2024
Session Lifecycle
Session Creation > Session Assign > Session Exchange > Session Termination
Session Creation:
- Session ID Strength
- Cookie Set with parent Domain
- Cookie path attribute set insecurely
- Session Puzzling Attack
Session Assign
- Cookie created with out the HTTPOnly Flag
- Cookie created without Secure flag(SSL)
Session Exchange
- Session ID contained in URL
- Multiple Session Allowed
- IP Hoping
- Kiosk Issue
Session Termination
- No Logout Button
- Session Expiration Issue
- Session Not Expired on Logout
- Session Timeout
Chat GPT long one: https://ajaymonga.medium.com/session-management-lifecycle-8a0a554f4015
Approach
- Check session cookies, tokens, and URL
- Browser storage for sessions and cookies
- Intercept HTTP to see session exchange
- Check the session lifecycle
Now > identifying possible weak spots > exploit them > document it
Chat GPT one according to Session Lifecycle: https://ajaymonga.medium.com/session-management-issues-test-approach-95c2d032becb