CWE-309 / WEAKNESS
Use of Password System for Primary Authentication
The use of password systems as the primary means of authentication may be subject to several flaws or shortcomings, each reducing the effectiveness of the mechanism.
- Category
- CWE weaknesses
- Version / scope
- CWE 5.0; release 2026-10-28; publisher status Draft
- Affected / relevant technologies
- Not Language-Specific / Go
- Evidence
- Documentation: pinned-source excerpt checked. Execution: not tested. Editorial: curated reference.
Defensive analysis and explicitly authorized assessment only. This website performs no scans, exploitation, model calls or infrastructure changes. Indicators below are investigation opportunities, not proof of compromise or guaranteed detectors.
Mechanism and prerequisites
Review publisher context and local applicability; this reference is not execution evidence.
Potential impact
Access Control Bypass Protection Mechanism Gain Privileges or Assume Identity A password authentication mechanism error will almost always result in attackers being authorized as valid users.
Versioned source scope
This record contains normalized, sometimes shortened source excerpts with editorial safety context. Markup and executable example blocks are omitted. Source-field verification does not establish device testing, a working detector or local applicability.
Publisher: MITRE. Release: CWE 5.0. Source checked: 2026-11-26.
Source object: CWE-309. Object modified: 2026-10-28.
Attribution and source terms (© The MITRE Corporation; reproduced with permission)Detection and investigation
- No standalone detection method is provided in the selected source fields; review applicable implementation evidence.
Preserve source timestamps, asset identity and collection context. Correlate independent evidence before attributing malicious intent. In OT, review passive evidence with the process owner; do not induce failures, replay commands or write to controllers to test a hypothesis.
Mitigation and response
- Architecture and Design In order to protect password systems from compromise, the following should be noted: Passwords should be stored safely to prevent insider attack and to ensure that -- if a system is compromised -- the passwords are not retrievable. Due to password reuse, this information may be useful in the compromise of other systems these users work with. In order to protect these passwords, they should be stored encrypted, in a non-reversible state, such that the original text password cannot be extracted from the stored value. Password aging should be strictly enforced to ensure that passwords do not remain unchanged for long periods of time. The longer a password remains in use, the higher the probability that it has been compromised. For this reason, passwords should require refreshing periodically, and users should be informed of the risk of passwords which remain in use for too long. Password strength should be enforced intelligently. Rather than restrict passwords to specific content, or specific length, users should be encouraged to use upper and lower case letters, numbers, and symbols in their passwords. The system should also ensure that no passwords are derived from dictionary words.
- Architecture and Design Use a zero-knowledge password protocol, such as SRP.
- Architecture and Design Ensure that passwords are stored safely and are not reversible.
- Architecture and Design Implement password aging functionality that requires passwords be changed after a certain point.
Apply changes through the asset owner's approved change and recovery process. Documentation review is separate from successful testing or verified production protection.
Related technical context
No protocol-specific mapping is asserted for this entry.
Publisher weakness and attack-pattern relationships
These relationships retain the publisher's source attributes and view context; they do not establish that an attack or weakness applies to a particular system.
- CAPEC-16 → Related_Weakness → CWE-309 Open related reference
- CAPEC-49 → Related_Weakness → CWE-309 Open related reference
- CAPEC-509 → Related_Weakness → CWE-309 Open related reference
- CAPEC-55 → Related_Weakness → CWE-309 Open related reference
- CAPEC-555 → Related_Weakness → CWE-309 Open related reference
- CAPEC-560 → Related_Weakness → CWE-309 Open related reference
- CAPEC-561 → Related_Weakness → CWE-309 Open related reference
- CAPEC-565 → Related_Weakness → CWE-309 Open related reference
- CAPEC-600 → Related_Weakness → CWE-309 Open related reference
- CAPEC-652 → Related_Weakness → CWE-309 Open related reference
- CAPEC-653 → Related_Weakness → CWE-309 Open related reference
- CAPEC-70 → Related_Weakness → CWE-309 Open related reference
- CWE-262 → PeerOf → CWE-309 Open related reference
- CWE-308 → PeerOf → CWE-309 Open related reference
- CWE-309 → Related_Attack_Pattern → CAPEC-16 Open related reference
- CWE-309 → Related_Attack_Pattern → CAPEC-49 Open related reference
- CWE-309 → Related_Attack_Pattern → CAPEC-509 Open related reference
- CWE-309 → Related_Attack_Pattern → CAPEC-55 Open related reference
- CWE-309 → Related_Attack_Pattern → CAPEC-555 Open related reference
- CWE-309 → Related_Attack_Pattern → CAPEC-560 Open related reference
- CWE-309 → Related_Attack_Pattern → CAPEC-561 Open related reference
- CWE-309 → Related_Attack_Pattern → CAPEC-565 Open related reference
- CWE-309 → Related_Attack_Pattern → CAPEC-600 Open related reference
- CWE-309 → Related_Attack_Pattern → CAPEC-652 Open related reference
- CWE-309 → Related_Attack_Pattern → CAPEC-653 Open related reference
- CWE-309 → Related_Attack_Pattern → CAPEC-70 Open related reference
- CWE-309 → ChildOf → CWE-1390 Open related reference
- CWE-309 → PeerOf → CWE-308 Open related reference
- CWE-309 → ChildOf → CWE-654 Open related reference
Authoritative sources and attribution
Identifiers and source titles belong to OWASP, MITRE, the CVE Program, CISA, NIST or the cited vendor. Source excerpts are attributed and adapted under the linked publisher license; editorial context is separate. This is not an official framework mirror. Review baseline: 2026-11-18. Live documents can change; check exact current applicability.
- https://cwe.mitre.org/data/definitions/309.html — Publisher link; not separately HTTP-checked
- MITRE CWE 5.0 source snapshot — source accessed 2026-11-26
Source review supports bounded reference text. It is not execution evidence, a completeness claim, a CVSS assessment, a compliance certification or verification of production security.
