Failure to Invalid Session after Password Change
The application did not invalidate other active sessions after a user changed their password. An attacker who already had the old password and an active session could continue to access the victim's account even after the password was changed.
- Fixed in 8 hours
- Disclosed after 9 months
While conducting my researching I discovered that the application Failure to invalidate session after password. In this scenario changing the password doesn't destroys the other sessions which are logged in with old passwords.
Steps to Reproduce:
Video PoC attached
###Step By Step: ->Login with the same account in Chrome and Firefox Simultaneously ->Change the pass in Chrome Browser ->Go to firefox and Update any information, information will be update *If attacker login with firefox and user know his password stolen so even user change their password, his account remain insecure and attacker have full access of victim account.
###Mitigation When some change in user password, each and every active sessions that belongs to that particular account must be destroyed! I would like to recommend you to add a process that asks users whether user want to close all open sessions or not right after changing password.
So there is two way, either you let users to choose if they want to keep active sessions or just destroy every active sessions when an users change his/her password!
Please fix this Vulnerability and let me know. Looking forward to hear from you.
Best Regards
Impact
If attacker have user password and logged in different places, As other sessions is not destroyed, attacker will be still logged in your account even after changing password, cause his session is still active.. Malicious actor can complete access your account till that session expires! So, your account remains insecure even after the changing of password
Attachments
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 account password was changed.
Impact
An attacker with the old password and an active session could retain full access to the victim's account even after the password was changed, until that session expires.
What the attacker needed
Attacker has the old password; attacker has an active session; victim changes password
The fix
The application should destroy all active sessions for the account when the password is changed, optionally letting the user choose to keep them.
How it was found
- Log in to the same account in Chrome and Firefox at the same time.
- Change the password in Chrome.
- In Firefox, update any information; the update succeeds.
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, the website gives your browser a session token so you stay logged in. If you change your password, the site should cancel all other session tokens so anyone else logged in is kicked out. Here, it did not, so an attacker who already had your password could keep using their old session.
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.