CWE-1469: Improper Check for Credential Expiration
The product receives a request that includes a credential such as a key, certificate, password, confirmation code, or token, but the product does not check whether the credential is expired.
Last updated
Overview
CWE-1469 (Improper Check for Credential Expiration) is a base-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Common consequences
What can happen when CWE-1469 is exploited.
Gain Privileges or Assume Identity, Bypass Protection Mechanism
Affects: Access Control, Confidentiality, Integrity
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
How to prevent it
Practical mitigations for CWE-1469, grouped by where in the lifecycle they apply.
When receiving a credential, look up its expiration to ensure that the credential is still active. If the incoming credential states its own expiration, do not trust this value as it may be part of untrusted input.