Session Based Bugs

3 years ago 111
BOOK THIS SPACE FOR AD
ARTICLE AD

infosecboy

Old Session Does Not Expire:

Steps:
1.create your account
2.open two browser eg.,chrome and firefox
3.Login in one browser eg.chrome
4.In other browser(firefox) login either change your password or reset your password
5.After successfully changed or reset go to other browser refresh the page if you are still logged in
Than this is an old session does not expire bug

Session Hijacking(Intended Behavior)

Steps:
1.Create your account
2.Login your account
3.Use cookie editor extension in browser
4.Copy all the target cookies
5.Logout your account
6.Paste that cookies in cookie editor extension
7.Refresh page if you are logged in than this is a session hijacking
Impact: If attacker get cookies of victim it will leads to account takeover.

Password reset link token does not expire(Insecure Configurability)

Steps:
1.Create your account on target
2.request a forget password link
3.Don’t use that link
4.Instead logged in with your old password and change your email to other
5.Now use that password link sents to old email and check if you are able to change your password if yes than there is the title bug.

Server security misconfiguration -> Lack of security headers -> Cache control for a security page

Steps :
1. Login to the application
2. Navigate around the pages
3. Logout
4. Press (Alt+left-arrow) buttons
5. If you are logged in or can view the pages navigated by the user. Then you found a bug.

Impact: At a PC cafe, if a person was in a very important page with alot of details and logged out, then another person comes and clicks back (because he didnt close the browser) then data is exposed. User information leaked

Read Entire Article