Password Complexity Not Enforced On Password Change
The password change function did not enforce the configured password complexity policy, so a user could set a very weak password such as a single character. An attacker who obtained or guessed such a weak password could log in to the account.
Originally disclosed on HackerOne
- Triaged in 36 days
- Fixed in 4 months
- Disclosed after 5 months
Hi!
Owncloud does not enforce password complexity on password change, so it's possible to use passwords of any size or form.
In example I can set my password to be "a" or "qwerty".
How to reproduce: Change your password to something that does not match your required complexity.
Proof Of Concept: Login with my dummy account account --> "[email protected]" password --> "q"
Thanks! WdeM
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 endpoint did not apply the same complexity validation that is used when an account is created or when an administrator sets a password.
Impact
A user could set a very weak password, which could make it easier for an attacker to guess or crack and then log in to the account.
What the attacker needed
A valid account; ability to change the password
How it was found
- Log in to the account.
- Change the password to a value that does not meet the required complexity.
- Observe that the weak password is accepted.
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 complexity rule is a policy that says passwords must be long enough or contain different kinds of characters. This report says that when you change your password, the system did not check those rules, so you could pick something very easy to guess. That makes it easier for someone else to break into the account.
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.