Live data from Hacker News

Ebay posts every character a user types into the password box

slashcrypto.org

141–150 of 220 posts

Re: Ebay posts every character a user types into the password box

#141
post #129
post #127

Earlier quoted context omitted.

If you hash it you can't determine the "strength" of the password except maybe looking up the hash in a rainbow table.

Do your strength checks in javascript client-side, then hash, then send. Server side can do further checks if it wants on the hashed password (hey, this password was already used, etc).

any clientside validation can easily be bypassed using something like fiddler.

Re: Ebay posts every character a user types into the password box

#142

I reproduced it for fun with BugReplay, the site I've been working on for the past year: https://app.bugreplay.com/shared/report/3efa632d-5b51-45f1-a... Checks out, password is in the GET param.

Very cool app! I've signed up for the beta; this could be a game changer for my support team.

Re: Ebay posts every character a user types into the password box

#143
For those who didn't read TFA - it does this for the password strength checker when creating a new password, not when logging in.

Honestly, I can see the challenge here. A truly robust password strength checker would use dictionaries, making it too heavy to run on the client, and for usability reasons you'd want it to check on keypress.

But it would be nice at the very least if they'd send it as POSTs in the body, not GET parameters.

Re: Ebay posts every character a user types into the password box

#144

I reproduced it for fun with BugReplay, the site I've been working on for the past year: https://app.bugreplay.com/shared/report/3efa632d-5b51-45f1-a... Checks out, password is in the GET param.

Very cool app! I've signed up for the beta; this could be a game changer for my support team.

Thanks! I got the notification, I'll send you over a registration invite, would love to get your feedback.

Re: Ebay posts every character a user types into the password box

#145
post #113

There is also the possibility of timing attacks on either type of request. By the length you can tell when the HTTPS request is most likely POST /PWDStrength, and from the times that the request is initiated, you can guess at some characteristics of the password (maybe they stopped typing for a second to verify requirements after typing 7 characters; maybe they stopped after 8 because they have to move to the numpad…

Is this another point in the bucket for password managers? Harder to leak any timing related information when a browser plugin auto-fills the form...

Yes, a password manager likely negates this kind of attack. Although the timing info likely gives away that you're using the auto-fill (which isn't useful, just interesting)

Re: Ebay posts every character a user types into the password box

#147
post #143

For those who didn't read TFA - it does this for the password strength checker when creating a new password, not when logging in. Honestly, I can see the challenge here. A truly robust password strength checker would use dictionaries, making it too heavy to run on the client, and for usability reasons you'd want it to check on keypress. But it would be nice at the very least if they'd send it as POSTs in the body, no…

Is a dictionary really that heavy? (Honest question.)

Re: Ebay posts every character a user types into the password box

#148

> Checking the password completely on the server is OK I don't even agree with that, I think the best pratice should be to hash it on the client side before sending it to a server.

Either way, this is a password strength checker, sending just a hash to the server would be useless.

Client-side password strength checker would make it functionally impossible to check dictionaries.

Re: Ebay posts every character a user types into the password box

#149
post #143

For those who didn't read TFA - it does this for the password strength checker when creating a new password, not when logging in. Honestly, I can see the challenge here. A truly robust password strength checker would use dictionaries, making it too heavy to run on the client, and for usability reasons you'd want it to check on keypress. But it would be nice at the very least if they'd send it as POSTs in the body, no…

Is a dictionary really that heavy? (Honest question.)

Depends on how big the dictionary is. :)
Post reply on HN