News for hackers. Stuff that matters.
Re:Let them paste passwords by Crespyl on Thursday May 18, 2017 @10:47AM (#14367638)
Though I'm pretty sure I've seen "Your password is too similar to a previous password" before, which suggests some kind of plaintext Levenshtein distance check.

"Is the same as" can be fine with a hash, but "Is too similar" is definitely a red flag.

Re:Let them paste passwords by Johnny555 on Thursday May 18, 2017 @11:49AM (#14368249)
When I've seen that "your password is too similar..." warning, it was with a system that required entering my current password to set a new password, so no need to store a previous version in plaintext.

Though another way around it is to apply a set of common transformations to your new password, hash it and see if it matches the previous one. I.e. if your current password is "Password123" and you try to set it to "Password1234", the system could truncate the last digit on the new password and see if it matches the current one.

Re:Let them paste passwords by thewhitetulip on Thursday May 18, 2017 @09:59PM (#14372513)
I think almost every system requires you to put in your current password to change new password.
Re:Let them paste passwords by wapz on Friday May 19, 2017 @12:55AM (#14373123)
Aren't passwords hashed on the client side before sending it across the network? That would make your way around not work (unless that's done on the client side also after verifying from the server that it's correct).
Re:Let them paste passwords by rypskar on Friday May 19, 2017 @06:38AM (#14374319)
Hashing it on the client side will make the hash the password. So the stored hash can be used as password by turning off the client side hashing, for instance by turning off javascript. You use https to avoid sending the password in cleartext over the network
Re:Let them paste passwords by matthewmacleod on Friday May 19, 2017 @03:58AM (#14373683)
I've certainly never encountered a web app that hashes locally before sending. I suppose it could work if this was at the account creation or password management stages, but you couldn't implement it at the login stage for obvious reasons.

I'm having trouble imagining what scenario client-side hashing would protect against.

Re:Let them paste passwords by consp on Friday May 19, 2017 @04:20AM (#14373757)
Man in the middle attacks fetching for plaintext passwords

-- edit: using a KDF would improve it even more.

Re:Let them paste passwords by anonymouz on Friday May 19, 2017 @04:58AM (#14373902)
If the client only sends the hash to the server, a MitM also only needs to capture the hash.
Re:Let them paste passwords by croon on Friday May 19, 2017 @05:04AM (#14373929)
Sure, but if they've MITM:ed your trusted certs, aren't you already boned in so many ways?