Weak password policy
The application allowed users to set their email address as their password during account creation and password reset. An attacker who knows a victim's email could guess the password in a single attempt, though rate limiting would not help because only one request is needed.
Originally disclosed on HackerOne
- Disclosed after 2 months
Hi there,
I noticed that the website does not prevent an user from using this email address as a password. This can lead to some poor password decisions on the clientside.
#Steps to reproduce
-
- Create a new account and use the email address as the password.
-
- Reset your password and choose your email address as the password.
In both cases, the application does not prevent this decision.
To improve the password strength, the application should avoid 1-to-1 usage of personal information as the account password.
I'm aware that you're using rate-limiting to prevent brute-force attacks, but in that case it's just a single email/email authentication request.
Let me know what you think about it.
Best regards, Sebastian
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application only checked password length or complexity but did not block passwords that match the user's own email address.
Impact
An attacker who knows a victim's email address could try it as the password in a single request, which rate limiting would not stop.
What the attacker needed
Attacker knows victim's email address; victim used email as password
The fix
The application should reject passwords that are identical to the user's email address or other personal information.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A password policy is a set of rules about what passwords are allowed. Here the site let people use their own email address as their password, which is very easy for an attacker to guess because they often already know the email. The reporter says the site should block passwords that are just personal information like the email.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.