-
Type: Bug
-
Status: Open
-
Priority: Critical
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Security, Security / Rights
Server Security Misconfiguration > Lack of Password Confirmation
Proof of Concept
- Login to application with a privileged user account.
- Navigate to "User Settings" -> "Profile"
- Try to change user's password
- While setting password process give leaked password
- See application will be accepting the given password.
Suggested Fix
- Allow all characters to be used for passwords to avoid shortening the key space for brute-force guessing.
- Do not impose character restrictions such as "must have at least X number of specific character type" in the password. This will shorten the key space for brute-force guessing.
- Disallow short password lengths. 12 characters is generally considered a good minimum password length.
- Allow for a large maximum password length.
- Do not advertise the maximum password length as this will shorten the key space for brute-force guessing.
- Disallow previous passwords from being used.
- Disallow the password being the same as the email or username.
- Check given password for leaked password lists for at least top1000.