CWE-263: Password Aging with Long Expiration

Base Draft Simple

CWE版本: 4.18

更新日期: 2025-09-09

弱点描述

The product supports password aging, but the expiration period is too long.

常见后果

影响范围: Access Control

技术影响: Gain Privileges or Assume Identity

说明: As passwords age, the probability that they are compromised grows.

潜在缓解措施

阶段: 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.

阶段: Architecture and Design

描述: Ensure that password aging is limited so that there is a defined maximum age for passwords. Note that if the expiration window is too short, it can cause users to generate poor or predictable passwords.

阶段: Architecture and Design

描述: Ensure that the user is notified several times leading up to the password expiration.

阶段: Architecture and Design

描述: Create mechanisms to prevent users from reusing passwords or creating similar passwords.

阶段: Implementation

描述: Developers might disable clipboard paste operations into password fields as a way to discourage users from pasting a password into a clipboard. However, this might encourage users to choose less-secure passwords that are easier to type, and it can reduce the usability of password managers [REF-1294].

有效性: Discouraged Common Practice

引入模式

阶段 说明
Architecture and Design COMMISSION: This weakness refers to an incorrect design related to an architectural security tactic.

适用平台

编程语言
Not Language-Specific (Undetermined)

分类映射

分类名称 条目ID 条目名称 映射适配度
CLASP - Allowing password aging -
关键信息

CWE ID: CWE-263

抽象级别: Base

结构: Simple

状态: Draft

利用可能性: Low

相关弱点
相关攻击模式
CAPEC-16 CAPEC-49 CAPEC-509 CAPEC-55 CAPEC-555 CAPEC-560 CAPEC-561 CAPEC-565 CAPEC-600 CAPEC-652 CAPEC-653 CAPEC-70