Not a bug Improper Authentication - Generic (Password reset token not expiring)

siONtI

Well-known member
Affected version
2.1.5a
Steps to reproduce:
1) Create a account having email address "firstemail@example.com".
2) Now Logout and ask for password reset link. Don't use the password reset link sent to your mail address.
3) Login using the same password back and update your email address to "secondemail@example.com" and verify the same. Remove "firstemail@example.com".
4) Now logout and use the password reset link which was mailed to "firstemail@example.com" in step 2.
5) Password will be changed and enters to "secondemail@example.com"`s account.

All previous password reset links should automatically expire once a user changes his email address.
 
I'd have to disagree.

The confirmation system is tied to a unique key inside the email, which then connects that record back to the user by its user_id.

If you have that email, it is still valid for the same user whether their email address is different or not.
 
Back
Top Bottom