|
| 1 | +# Session Based Bugs |
| 2 | + |
1 | 3 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
2 | 4 |
|
3 | | -1.Old Session Does Not Expire: |
4 | | - Steps: |
| 5 | +### Old Session Does Not Expire: |
| 6 | +* Steps: |
| 7 | +``` |
5 | 8 | 1.create your account |
6 | 9 | 2.open two browser eg.,chrome and firefox |
7 | 10 | 3.Login in one browser eg.chrome |
8 | 11 | 4.In other browser(firefox) login either change your password or reset your password |
9 | 12 | 5.After successfully changed or reset go to other browser refresh the page if you are still logged in |
10 | | - |
11 | | - Than this is an old session does not expire bug |
| 13 | +``` |
| 14 | +Than this is an old session does not expire bug |
12 | 15 |
|
13 | 16 |
|
14 | | -2.Session Hijacking(Intended Behavior) |
15 | | - steps: |
| 17 | +### Session Hijacking(Intended Behavior) |
| 18 | +* Steps: |
| 19 | +``` |
16 | 20 | 1.Create your account |
17 | 21 | 2.Login your account |
18 | 22 | 3.Use cookie editor extension in browser |
19 | 23 | 4.Copy all the target cookies |
20 | 24 | 5.Logout your account |
21 | 25 | 6.Paste that cookies in cookie editor extension |
22 | 26 | 7.Refresh page if you are logged in than this is a session hijacking |
23 | | - |
24 | | - Impact:If attacker get cookies of victim it will leads to sessin hijacking |
25 | | - |
| 27 | +``` |
| 28 | +`Impact:` If attacker get cookies of victim it will leads to sessin hijacking |
26 | 29 |
|
27 | | - 3.Password reset link token does not expire(Insecure Configurability) |
28 | 30 |
|
29 | | - |
30 | | - Steps: |
| 31 | +### Password reset link token does not expire(Insecure Configurability) |
| 32 | +* Steps: |
| 33 | +``` |
31 | 34 | 1.Create your account on target |
32 | 35 | 2.request a forget password link |
33 | 36 | 3.Don't use that link |
34 | 37 | 4.Instead logged in with your old password and change your email to other |
35 | 38 | 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. |
36 | | - |
| 39 | + ``` |
37 | 40 | |
38 | 41 | Happy Hacking:) |
39 | 42 |
|
40 | 43 | Resources:Google,Youtube. |
| 44 | + |
| 45 | +# Authors |
| 46 | +* [https://twitter.com/Virdoex_hunter](https://twitter.com/Virdoex_hunter) |
0 commit comments