CWE-1473: Improper Expiration of Cached Data
The product uses or supports data in a cache, but it does not properly specify an expiration with a date, time, or time period that is sufficient for the intended security policy of the product or its adminstrators.
Last updated
Overview
CWE-1473 (Improper Expiration of Cached Data) is a class-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-1473 is exploited.
Gain Privileges or Assume Identity, Bypass Protection Mechanism, Unexpected State, Varies by Context
Affects: Access Control, Integrity, Other
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
How to prevent it
Practical mitigations for CWE-1473, grouped by where in the lifecycle they apply.
For each type of cached data, determine the best lifetime that balances efficiency provided by the cache with the security implications of the data becoming too stale. Explicitly specify an expiration date or time period.