CWEweakness
CWE-521 Weak Password Requirements
- Abstraction
- Base
- Structure
- Simple
- Status
- Draft
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
The product does not require that users should have strong passwords.
Common consequences
• Access Control: Gain Privileges or Assume Identity — An attacker could easily guess user passwords and gain access user accounts.
Potential mitigations
• [Architecture and Design] A product's design should require adherence 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 contextual string in the password (e.g., user id, app name)
Depending on the threat model, the password policy may include several additional attributes.
• Complex passwords requiring mixed character sets (alpha, numeric, special, mixed case)
• Increasing the range of characters makes the password harder to crack and may be appropriate for systems relying on single factor authentication.
• Unfortunately, a complex password may be difficult to memorize, encouraging a user to select a short password or to incorrectly manage the password (write it down).
• Another disadvantage of this approach is that it often does not result in a significant increase in overall password complexity due to people's predictable usage of various symbols.
• Large Minimum Length (encouraging passphrases instead of passwords)
• Increasing the number of characters makes the password harder to crack and may be appropriate for systems relying on single factor authentication.
• A disadvantage of this approach is that selecting a good passphrase is not easy and poor passwords can still be generated. Some prompting may be needed to encourage long un-predictable passwords.
• Randomly Chosen Secrets
• Generating a password for the user can help make sure that length and complexity requirements are met, and can result in secure passwords being used.
• A disadvantage of this approach is that the resulting password or passphrase may be too difficult to memorize, encouraging them to be written down. However, there is growing adoption of password managers that allow users to manage many passwords with varying complexity requirements.
See NIST 800-63B [REF-1053] for further information on password requirements.
• [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 reduced in light of
the adoption of related protection mechanisms (such as
password complexity and computational effort), along
with the recognition that regular password changes
often caused users to generate more predictable
passwords. As a result, this is now a Discouraged
Common Practice [REF-1488] [REF-1489], especially as
the sole factor in protecting passwords. It is still
strongly encouraged to force password changes in case
of evidence of compromise, but this is not the same as
a forced "expiration" on an arbitrary time
frame.
Detection methods
• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Observed examples
• CVE-2020-4574: key server application does not require strong passwords
Related
Attack pattern · CAPEC (9)
- CAPEC-112 Brute Force attack pattern
- CAPEC-16 Dictionary-based Password Attack attack pattern
- CAPEC-49 Password Brute Forcing attack pattern
- CAPEC-509 Kerberoasting attack pattern
- CAPEC-55 Rainbow Table Password Cracking attack pattern
- CAPEC-555 Remote Services with Stolen Credentials attack pattern
- CAPEC-561 Windows Admin Shares with Stolen Credentials attack pattern
- CAPEC-565 Password Spraying attack pattern
- CAPEC-70 Try Common or Default Usernames and Passwords attack pattern
Observed example · CVE (1)
- CVE-2020-4574 IBM Tivoli Key Lifecycle Manager does not require that users should have strong passwords by default, which makes it easier for attackers… vulnerability
Child of · CWE (2)
Referenced by CAPEC · weakness (9)
- CAPEC-112 Brute Force attack pattern
- CAPEC-16 Dictionary-based Password Attack attack pattern
- CAPEC-49 Password Brute Forcing attack pattern
- CAPEC-509 Kerberoasting attack pattern
- CAPEC-55 Rainbow Table Password Cracking attack pattern
- CAPEC-555 Remote Services with Stolen Credentials attack pattern
- CAPEC-561 Windows Admin Shares with Stolen Credentials attack pattern
- CAPEC-565 Password Spraying attack pattern
- CAPEC-70 Try Common or Default Usernames and Passwords attack pattern
Referenced by CVE · weakness (265)
- CVE-2026-41021 Eaton easyE4 uses an insufficiently strong password policy. vulnerability
- CVE-2026-112193 A vulnerability was detected in Webkul Aureus ERP up to 1.6.0. vulnerability
- CVE-2026-85216 MISP contains an authentication bypass vulnerability in its LDAP and LinOTP authentication components due to insufficient validation of… vulnerability
- CVE-2026-73778 A vulnerability exists in the Credential Manager component that may allow for unauthorized administrative access. vulnerability
- CVE-2026-19293 SMP security request (from peripheral) does not include the maximum encryption key size supported. vulnerability
- CVE-2026-12504 Improper Authentication (CWE-287) in the PAM configuration in Loytec LIP-ME201C, L-INX, L-GATE, L-ROC, L-IOB, L-DALI, L-VIS and L-PAD… vulnerability
- CVE-2026-56577 HCL MyCloud was affected with Weak Password Policy. vulnerability
- CVE-2026-35097 KTM System e-BOK enforces a maximum password length of six numeric digits and does not permit the use of any alphabetic, special, or… vulnerability
- CVE-2026-11493 A weakness has been identified in Tenda AC15 15.03.05.19. vulnerability
- CVE-2024-40684 IBM Operations Analytics - Log Analysis 1.3.5.0, 1.3.5.1, 1.3.5.2, 1.3.5.3, 1.3.6.0, 1.3.6.1, 1.3.7.0, 1.3.7.1, 1.3.7.2, and 1.3.8.0,… vulnerability
- CVE-2026-9394 A vulnerability was determined in Besen BS20 EV Charging Station up to 20260426. vulnerability
- CVE-2026-41038 This vulnerability exists in Quantum Networks router due to lack of enforcement of strong password policies in the web-based management… vulnerability
- CVE-2026-6284 An attacker with network access to the PLC is able to brute force discover passwords to gain unauthorized access to systems and services. vulnerability
- CVE-2026-33771 A Weak Password Requirements vulnerability in the password management function of Juniper Networks CTP OS might allow an unauthenticated,… vulnerability
- CVE-2026-34203 Nautobot is a Network Source of Truth and Network Automation Platform. vulnerability
- CVE-2025-55269 HCL Aftermarket DPC is affected by Weak Password Policy vulnerability, which makes it easier for attackers to guess weak passwords or use… vulnerability
- CVE-2026-27575 Vikunja is an open-source self-hosted task management platform. vulnerability
- CVE-2026-25715 The web management interface of the device allows the administrator username and password to be set to blank values. vulnerability
- CVE-2026-1408 A weakness has been identified in Beetel 777VR1 up to 01.00.09/01.00.09_55. vulnerability
- CVE-2025-55252 HCL AION version 2 is affected by a Weak Password Policy vulnerability. vulnerability
- CVE-2025-68963 Man-in-the-middle attack vulnerability in the Clone module. vulnerability
- CVE-2025-68716 KAYSUS KS-WR3600 routers with firmware 1.0.5.9.1 enable the SSH service enabled by default on the LAN interface. vulnerability
- CVE-2025-23408 Weak Password Requirements vulnerability in Apache Fineract. vulnerability
- CVE-2025-67513 FreePBX Endpoint Manager is a module for managing telephony endpoints in FreePBX systems. vulnerability
- CVE-2025-53963 An issue was discovered on Thermo Fisher Ion Torrent OneTouch 2 INS1005527 devices. vulnerability
- CVE-2025-63800 The password change endpoint in Open Source Point of Sale 3.4.1 allows users to set their account password to an empty string due to… vulnerability
- CVE-2025-65014 LibreNMS is an auto-discovering PHP/MySQL/SNMP based network monitoring tool. vulnerability
- CVE-2025-63747 QaTraq 6.9.2 ships with administrative account credentials which are enabled in default installations and permit immediate login via the… vulnerability
- CVE-2025-55034 General Industrial Controls Lynx+ Gateway is vulnerable to a weak password requirement vulnerability, which may allow an attacker to… vulnerability
- CVE-2025-12552 Insufficient Password Policy.This issue affects BLU-IC2: through 1.19.5; BLU-IC4: through 1.19.5. vulnerability
Referenced by CWE · child of (1)
- CWE-258 Empty Password in Configuration File weakness
Referenced by CWE · has member (1)
- CWE-884 CWE Cross-section view