Broken Authentication & Session Management - Failure to Invalidate Session on all other browsers at Password change
The web application did not invalidate other active sessions when a user changed their password. An attacker with access to a logged-in session on a shared computer could continue using the account even after the victim changed the password.
Originally disclosed on HackerOne
- Disclosed after 4 hours
Broken Authentication & Session Management - Failure to Invalidate Session on all other browsers at Password change
Hello Team, While I was testing your web application "Paragon Initiative Enterprises", I came to know that it is vulnerable to "Broken Authentication and Session Management > Failure to Invalidate Session > On Password Reset" at https://bridge.cspr.ng/my/account .
Description : When a user changes his account password, all the sessions on other devices/browsers should expire.
Cause : Suppose any user (victim) left his account logged in on any computer/browser (victim could use browser at Cyber Cafe or any shared computer). And after a particular he realized that he left his account logged in, and there is a security provided that when a user changes his account password all other sessions should invalidate or expire, which will expire the session from that shared computer.
But in your web application, I didn't found any such security that invalidate the session after password. Here if any user left his account logged in, any attacker can misuse the victim's account and there is no option available to the victim to invalidate the session on that shared computer which could lead to some major problems.
Steps to reproduce the bug : Step 1 : Go to Browser A at (say Mozilla Firefox) and login with your credentials at https://bridge.cspr.ng/ and login with your credentials.
Step 2 : Similarly, Go to Browser B at (say Google Chrome) and login with your same credentials at https://bridge.cspr.ng/ and login with your credentials.
Step 3 : Suppose Browser A (Mozilla Firefox) is an shared computer's browser, and you left your account logged in at that computer. Go to Browser B (Google Chrome) and change your account password at https://bridge.cspr.ng/my/account.
Step 4 : When you change your account password at Browser B (Google Chrome), the session at Browser A (Mozilla Firefox) should expire and the account should automatically logged out.
Step 5 : Go to Browser A (Mozilla Firefox), and visit your https://bridge.cspr.ng/ account page and refresh the page.
You will notice that even after changing the account password at Browser B (Google Chrome), the session at Browser A (Mozilla Firefox) didn't expired which can cause major problems.
Please fix the bug and let me know if you need any other information.
Regards K. Jagdish
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application did not revoke existing session tokens when the password was changed.
Impact
An attacker who has access to a logged-in session on a shared computer could continue to use the victim's account even after the victim changes their password.
What the attacker needed
Victim logged in on a shared computer; attacker has access to that session; victim changes password on another browser
The fix
The application should invalidate all other sessions when a password is changed.
How it was found
- Log in to the application on Browser A.
- Log in to the same account on Browser B.
- On Browser B, change the account password.
- On Browser A, refresh the account page and observe that the session is still active.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When you log in to a website, it gives your browser a session cookie so you stay logged in. If you change your password, the website should log out all other browsers to protect you if you forgot to log out on a shared computer. This report says that did not happen, so someone else could still use your account.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.