← Back to Labs
Weakness (CWE)
CWE-521
Weak Password Requirements
About
The product does not require that users should have strong passwords.
Common consequences
- Access Control → Gain Privileges or Assume Identity
Mitigations
- Architecture and Design: A product's design should require adherance to an appropriate password policy. Specific password requirements depend strongly on contextual factors, but it is recommended to contain the following attributes: - Enforcement of a minimum and maximum length - Restrictions against password reuse - Restrictions against using common passwords - Restrictions against using contextu
- Architecture and Design: Consider a second authentication factor beyond the password, which prevents the password from being a single point of failure. See CWE-308 for further information.
- Implementation: Consider implementing a password complexity meter to inform users when a chosen password meets the required attributes.
- Implementation: Previously, "password expiration" was widely advocated as a defense-in-depth approach to minimize the risk of weak passwords, and it has become a common practice. Password expiration requires a password to be changed within a fixed time window (such as every 90 days). However, this approach has significant limitations in the current threat landscape, and its utility has been reduce
CVEs with this weakness
Frequently asked questions
What is CWE-521?
The product does not require that users should have strong passwords. Common consequences Access Control → Gain Privileges or Assume Identity Mitigations Architecture and Design: A product's design should require adherance to an appropriate password policy.
Which platforms does CWE-521 affect?
CWE-521 has been observed on: Not Technology-Specific.
How many CVEs does Rainforest track for CWE-521?
Rainforest Labs currently tracks 1 published CVEs mapped to CWE-521. They are listed on this page.
Empower Your Security Strategy with Rainforest
Discover vulnerabilities early, prioritize critical threats, and protect what truly matters. Rainforest streamlines your security operations, saving you time and reducing costs, so you can focus on what drives your business forward.
