Weak password policy
The application allowed a user to reuse a previous password when changing it, contrary to a claimed strong password policy that should block the last five passwords. An attacker who learns a victim's password could still use it after the victim changes it back to the same value.
Originally disclosed on HackerOne
- Disclosed after 4 months
Hi team, i get to know that you are using strong password policy. i gone through application and checked for that.
and get to know that as per ISO9001 security compliance weak password policy.
#Steps :
- signup with https://hosted.weblate.org/ with password vikas@123
- forget password and change to some other password
- change again to vikas@123
it will allow.
as per strong password security last 5 used password should not allowed from application,
#Scenario: if by mistake attacker get to know victim's password and then only victim will change password. again victim changed and he changed to same password that will not always good policy.
Thanks.
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 password change function did not check the new password against a history of previously used passwords.
Impact
If an attacker learns a victim's password, the victim changing it back to the same value would not lock the attacker out, so the account could remain accessible to the attacker.
What the attacker needed
A free account; knowledge of the victim's old password
How it was found
- Sign up with a password.
- Use the forgot password flow to change to a different password.
- Change the password back to the original one.
- The application accepts the reused password.
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. This report says the site let someone set their password back to an old one, even though the policy was supposed to stop that. If an attacker already knew the old password, they could keep using it after the victim thought they had changed it.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.