No shared passwords
Toby took Pip's advice and made the shop refuse any password another customer already had. Its error message helpfully told you whose password it was.
The mistake
The sign-up form rejects any password that another account already uses. That turns the form into a password oracle: anyone can try common passwords and learn which ones are in use. Naming the owner gives away a working username and password pair. A correctly salted hash can't even be compared across accounts, so the check also implies the passwords are stored in a way that can be looked up. The proposed fix, logging the visitor into the matching account, is a full authentication bypass.
- security
- passwords
- sign-up
- ai-tooling
- release