django-password-reset icon indicating copy to clipboard operation
django-password-reset copied to clipboard

reset links aren't invalidated after they are used

Open g-k opened this issue 8 years ago • 2 comments

As far as I can tell, password reset links aren't invalidated or expired after they are used:

multi-reset

The reset token is equivalent to a password since it allows anyone who knows it to set a new password. Invalidating the reset token after it is used limits the duration of its validity, which is particularly important for long expiration windows like the 2 day default for this package.

Of course, by all means, once a user's password has been reset, the randomly-generated token should no longer be valid.

https://www.owasp.org/index.php/Forgot_Password_Cheat_Sheet#Step_3.29_Send_a_Token_Over_a_Side-Channel (end of paragraph)

g-k avatar Apr 04 '16 15:04 g-k

This is a major issue.

steven-mercatante avatar Apr 10 '16 23:04 steven-mercatante

Any plans on fixing this issue?

prafulbagai avatar Jul 07 '16 19:07 prafulbagai