Broken Authentication and Session Management Flaw After Change Password and Logout
The site does not invalidate existing sessions when a user changes their password or logs out, so an attacker with a stolen session can continue to access and edit the account even after the legitimate user has taken those actions.
Originally disclosed on HackerOne
- Triaged in 10 hours
- Fixed in 34 hours
- Paid in 34 hours
- Disclosed after 16 months
####Summary Usually it's happened that when you change password or sign out from one place (or one browser), automatically someone who is open same account will sign out too from another browser. Basically your session destroyed at server side... But in your site, it still alive..
####PoC Detail About Vulnerability and PoC on Attachment File
Noted: You can try these vulnerability in another site. (e.g cryptfolio.com, facebook.com, etc). It's not alive when another has changed password and sign out
For More Information about This Vulnerability You can check OWASP Guide
https://www.owasp.org/index.php?title=Broken_Authentication_and_Session_Management&setlang=en
####Attachment Video https://gofile.io/?c=Vt4m42
Impact
Account profile still can be edited even in another browser the account has signedout and changed password
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 server does not revoke or invalidate existing session tokens when a password change or logout occurs.
What the attacker needed
Attacker has a valid session token
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 out or change your password, most websites end all other active sessions so that anyone else who was logged in is kicked out. Here, the site kept those other sessions alive, meaning someone who had access to your account could keep using it even after you tried to secure it.
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.