Liberapay · Report #678050
Invalidate session after password reset
Validstatus
lowseverity
10upvotes
5 Nov 2019disclosed
How it was found
Website doesn't invalidate session after the password is reset which can enable attacker to continue using the compromised session.
Steps:
- Open same accounts in two different browsers
- Change password in one browser and you will see that another browser still validate the session after password change (even after refresh the page ).
Recommendation:
As per OWASP, it is recommended to terminate all the active sessions when a password is changed and force the user to re-login.
Impact
Logging in with the new password doesn't invalidate the older session either: I could browse Liberapay using two sessions (in two different browsers) which were initiated using two different passwords.