Re:Is Your Site Leaking Password Reset Links?
by tvelichkov on Monday October 24, 2016 @09:31AM
(#12778570)
If you steal someones else password-reset link, change the password, then at the end of the day, won't you end up with a password, but missing email/username in order to log in? I mean the reset password link shouldn't reveal any other credentials about the account. (I know at some sites after reseting a password you may end up automatically logged in, but i think this is a bad practice).
[ Parent
| on HN ]
Re:Is Your Site Leaking Password Reset Links?
by derekprior on Monday October 24, 2016 @09:36AM
(#12778612)
Depends on how the reset behaves. Some resets log you in immediately after providing a new password. Some require you to log in after resetting the password.
I feel like I've seen more of the former than the latter.
Re:Is Your Site Leaking Password Reset Links?
by nchelluri on Monday October 24, 2016 @10:04AM
(#12778847)
I don't think it's so simple.
Before generating the PW reset link, someone might try to login first. So they'd enter [email protected] into the login form and then when that failed, it's not uncommon to redirect with error-msg-in-session to /[email protected] . So you'd leak the email first.
Re:Is Your Site Leaking Password Reset Links?
by milankragujevic on Monday October 24, 2016 @02:08PM
(#12781238)
Given how many (more than 90% imo) reset links are something like /[email protected]&token=0123456789, that's not quite an issue as it may seem...