News for hackers. Stuff that matters.
Re:Stupid Patterns by rerx on Saturday January 01, 2022 @06:10AM (#29757388)
A malicious recipient can click the link and exploit that their email is now associated to the account of some other person.
Re:Stupid Patterns by dmurray on Saturday January 01, 2022 @08:03AM (#29757961)
This seems like a relatively small vulnerability in practice.

But it could be mitigated by "click the link and enter the one time code we gave you at sign-up time". Too much friction? How about "click the link on the same browser you used to sign up, and we'll verify that using a cookie we just set" - functionally equivalent and probably works for 90% of users while the rest can fall back to the one time code.

I've seen a handful of sites do something like this in practice. No idea why it's not more common: presumably most people don't roll their own verification process so if some major web frameworks adopt it we'll eventually see it more widely.

Re:Stupid Patterns by feupan on Saturday January 01, 2022 @12:28PM (#29760541)
> presumably most people don't roll their own verification process

Oh boy. Auth is that thing that looks so easy because you just need to store an md5 password to feel like hackerman. If people actually used existing solutions, web logins wouldn’t be in such dire conditions.

Re:Stupid Patterns by HelloNurse on Saturday January 01, 2022 @01:02PM (#29760875)
Allowing password reset requests (or activating the account in full) before the email is verified, so that I can reset the password and take over the account, means that the holder of the email prevails over the password holder: a severe protocol design error, which can be made even worse by accepting payments before the email is verified or by restricting account creations attempts.

Not all careless stupidity should be attributed to the website admin, however: assholes using random email addresses and phone numbers deserve to be punished, and knowing one's own email addresses is a basic literacy requirement.

Re:Stupid Patterns by fragmede on Saturday January 01, 2022 @05:46PM (#29763662)
or just make a verified email address part of the required sign-up flow. No click on registration link, no further access to account.
Re:Stupid Patterns by Macha on Saturday January 01, 2022 @09:40AM (#29758599)
Compared to the current status of doing nothing, where the malicious recipient has their email associated to the account of some other person without even having to click a link?
Re:Stupid Patterns by zargon on Sunday January 02, 2022 @05:03AM (#29767374)
It's not the account of some other person. They can't use it because they can't verify the email to create a password.