News for hackers. Stuff that matters.
Re:Don’t Get Clever with Login Forms by tylerrobinson on Friday February 15, 2019 @11:45AM (#19172335)
I can't argue with the lack of password manager support. But I know where Product is coming from on these approaches. Asking for an email address on its own screen allows the form to check whether you have an existing account or need to set up a new one. You avoid a link that says "Don't have an account, Register Here". Is it worth it? I suppose it's subjective. Maybe the designer thinks that is a good reduction in friction.

Probably more compelling is that the form can pick up your email domain and redirect to Single Sign On if the domain is known.

Re:Don’t Get Clever with Login Forms by NLips on Friday February 15, 2019 @11:52AM (#19172413)
That's a security failing - you shouldn't let the website user know that a given account exists.

The right way to do this is have a log in form (one or two pages - doesn't matter) and a separate create account form. You can try to log into a non-existant account, which will fail in exactly the same way as a wrong password. You can try to create an already existing account, which will result in exactly the same behaviour to the webpage user as creating a non-existing account - a page saying "An email has been sent to the email address <foo>".

Re:Don’t Get Clever with Login Forms by nickles on Friday February 15, 2019 @12:31PM (#19172821)
> That's a security failing - you shouldn't let the website user know that a given account exists.

It's not an issue if you let users pick their own username. There's simply no way to get around this (apart from assigning usernames). In other cases, usernames being publicly available is a desired feature.

[0] https://imgur.com/a/qCupYyQ

Re:Don’t Get Clever with Login Forms by astura on Friday February 15, 2019 @05:25PM (#19175290)
It really depends on what the site is and what the user ID is. For example, I know the account "NLips" exists on hacker news, that's not a "security failing," nor can that information be hidden, however, it would be a security issue if I could put my boss's email into a porn site to see if he has an account.
Re:Don’t Get Clever with Login Forms by etxm on Friday February 15, 2019 @11:51AM (#19172396)
Is there no longer a panic over letting an attacker know that an account does exist?

I remember that being a thing for a while, but haven’t built user facing UI systems in a few years.

Re:Don’t Get Clever with Login Forms by nickles on Friday February 15, 2019 @12:33PM (#19172842)
> Is there no longer a panic over letting an attacker know that an account does exist?

There's simply no way to get around this if users can pick their own usernames (other than assigning them in an unpredictable manner). In other cases, usernames being publicly available is a feature, not a bug.

[0] https://imgur.com/a/qCupYyQ

Re:Don’t Get Clever with Login Forms by etxm on Friday February 15, 2019 @01:29PM (#19173398)
It’s difficult for an email system, but for other systems this can be solved by having a “display name” and a login (which may be your email).
Re:Don’t Get Clever with Login Forms by nickles on Friday February 15, 2019 @01:44PM (#19173522)
> this can be solved by having a “display name” and a login

You have three choices with a user specified login name. You can:

(1) notify a user why account creation has failed (due to a duplicated login name)

(2) fail silently and have frustrated users leave your account creation page

(3) allow duplicated login credentials

In my mind, (2) and (3) are worse than (1). Since the question regards security practices, obfuscating the login name with a display name does not mitigate this vulnerability.

If you rate limit the account creation endpoint, you will minimize the ability of an attacker to brute force all usernames of your service, but you cannot prevent an attacker from determining if a specific account exists (apart from assigning login credentials).

Re:Don’t Get Clever with Login Forms by etxm on Friday February 15, 2019 @02:12PM (#19173778)
Oh good point. I forgot about the whole sign up validation portion :)
Re:Don’t Get Clever with Login Forms by tln on Friday February 15, 2019 @12:27PM (#19172792)
It's a tradeoff between security and usability

https://security.stackexchange.com/questions/158075/is-it-un...

Re:Don’t Get Clever with Login Forms by xemdetia on Sunday February 17, 2019 @12:17AM (#19182790)
For things that are pentested/audited to some level of compliance standard this is still very much known. It's under the heading of the error message gives too much away.
Re:Don’t Get Clever with Login Forms by reificator on Friday February 15, 2019 @12:04PM (#19172550)
I haven't heard an update on that front for many years, so I'd assume it should still be a concern.

Many of the same sites that do this will also have a recovery form that refuses to leak information.

Re:Don’t Get Clever with Login Forms by etxm on Friday February 15, 2019 @12:10PM (#19172614)
That’s important. I find it funny[1] when you get the “email does not exist” error on a password reset page.

[1] by “funny” I mean not funny

Re:Don’t Get Clever with Login Forms by reaperducer on Friday February 15, 2019 @12:52PM (#19173019)
I wonder if that's a way for spammers to harvest known good e-mail addresses.
Re:Don’t Get Clever with Login Forms by scarejunba on Friday February 15, 2019 @01:32PM (#19173423)
Those are available for free on the internet dude. This is a non-concern. The bad guys don't listen to GDPR. There are entire email lists available.
Re:Don’t Get Clever with Login Forms by dbdjfjrjvebd on Saturday February 16, 2019 @12:57AM (#19177320)
And how are such lists constructed?
Re:Don’t Get Clever with Login Forms by scarejunba on Saturday February 16, 2019 @02:24AM (#19177541)
You just breach someone with a lot of them.
Re:Don’t Get Clever with Login Forms by dbdjfjrjvebd on Saturday February 16, 2019 @10:28AM (#19178972)
Would it not be easier/more legal to scrape them using leaky login forms?
Re:Don’t Get Clever with Login Forms by scarejunba on Saturday February 16, 2019 @05:02PM (#19181215)
I believe the breached lists rapidly become public. You can find them on the internet.
Re:Don’t Get Clever with Login Forms by nevir on Friday February 15, 2019 @12:04PM (#19172555)
It's still a concern, but often forgotten.
Re:Don’t Get Clever with Login Forms by lowercased on Friday February 15, 2019 @11:55AM (#19172445)
> Maybe the designer thinks that is a good reduction in friction.

Maybe the designer should use the site as many of their users use it, and realize the inconvenience it causes people (broken password managers, bad browser experience in general, etc).