HexBrain

Weblate · Report #224362

Invalidate session after password reset - hosted website

Duplicatestatus
lowseverity
8upvotes
3 Jul 2017disclosed

How it was found

Hey team,

The Hosted Website doesn't invalidate session after the password is reset. It's one of the OWASP recommendations to terminate the session when a password is changed and force the user to re-login.

Quote from OWASP:

Renew the Session ID After Any Privilege Level Change The session ID must be renewed or regenerated by the web application after any privilege level change within the associated user session.. Other common scenarios must also be considered, such as password changes Source: https://www.owasp.org/index.php/Session_Management_Cheat_Sheet#Renew_the_Session_ID_After_Any_Privilege_Level_Change

Steps to reproduce:

Suggested Fix:

When the password is reset, force logout the user and redirect to login page with a message.

Some hackerone examples: https://hackerone.com/reports/15785 https://hackerone.com/reports/15852

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original