cve.bz

CAPEC-204

Lifting Sensitive Data Embedded in Cache

Medium severityDetailed pattern

An adversary examines a target application's cache, or a browser cache, for sensitive information. Many applications that communicate with remote entities or which perform intensive calculations utilize caches to improve efficiency. However, if the application computes or receives sensitive information and the cache is not appropriately protected, an attacker can browse the cache and retrieve this information. This can result in the disclosure of sensitive information.

On this page

Ask an AI about this attack pattern

Show the promptExplain the attack pattern CAPEC-204: Lifting Sensitive Data Embedded in Cache: how it unfolds, what it needs and how to prevent and detect it in my systems. Use https://capec.mitre.org/data/definitions/204.html and https://cve.bz/cve/capec/204?via=ask-ai-copy, which lists recent CVEs with the weaknesses it exploits. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this attack pattern's id and public links.

How the attack unfolds

  1. Explore

    The attacker looks for a way in.

    1. [Identify Application Cache] An adversary first identifies an application that utilizes a cache. This could either be a web application storing data in a browser cache, or an application running on a separate machine. The adversary examines the cache to determine file permissions and possible encryption.

      2 techniques
      • Use probing tools to look for application cache files on a machine.
      • Use a web application and determine if any sensitive information is stored in browser cache.
  2. Experiment

    They probe what they found.

    1. [Attempt to Access Cache] Once the cache has been discovered, the adversary attempts to access the cached data. This often requires previous access to a machine hosting the target application.

      2 techniques
      • Use priviledge escalation to access cache files that might have strict privileges.
      • If the application cache is encrypted with weak encryption, attempt to understand the encryption technique and break the encryption.
  3. Exploit

    They carry out the attack.

    1. [Lift Sensitive Data from Cache] After gaining access to cached data, an adversary looks for potentially sensitive information and stores it for malicious use. This sensitive data could possibly be used in follow-up attacks related to authentication or authorization.

      1 technique
      • Using a public computer, or gaining access to a victim's computer, examine browser cache to look for sensitive data left over from previous sessions.

Prerequisites

  • The target application must store sensitive information in a cache.

  • The cache must be inadequately protected against attacker access.

Resources required

  • The attacker must be able to reach the target application's cache. This may require prior access to the machine on which the target application runs. If the cache is encrypted, the attacker would need sufficient computational resources to crack the encryption. With strong encryption schemes, doing this could be intractable, but weaker encryption schemes could allow an attacker with sufficient resources to read the file.

Weaknesses it exploits

  • CWE-311 Missing Encryption of Sensitive Data
  • CWE-524 Use of Cache Containing Sensitive Information
  • CWE-1239 Improper Zeroization of Hardware Register
  • CWE-1258 Exposure of Sensitive System Information Due to Uncleared Debug Information

Recent CVEs with these weaknesses

  1. 8.3CVE-2026-125089

    The graphql-proxy-cache-advanced plugin in Kong Gateway Enterprise and Kong AI Gateway can serve a cached response to a GraphQL mutation without forwarding it to the upstream, so the write is not executed and the caller may receive a respo…

  2. 5.3CVE-2026-119072

    The W3 Total Cache plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 2.11.0 via the 'utm_source (and the wp-resetpass-<hash> cookie on the victim side)' parameter. This makes it poss…

  3. 6.3CVE-2026-133750

    Since Symfony 7.4, CachingHttpClient can cache the responses of HTTP clients, for example when caching is enabled in framework.http_client. Its withOptions() method passes the options to the decorated client only. So credentials set with w…

  4. 6.3CVE-2026-123213

    Joomla! Core - [20261110] - Core - Information disclosure in mod_articles_popular in Joomla 4.3.0-5.4.10, 6.0.0-6.2.0 - The cache key of the popular articles module does not include the access levels of the user, exposing restricted articl…

  5. –CVE-2026-121649

    Use of cache containing sensitive information vulnerability in Apache Tomcat's ExpiresFilter caused by the filter removing cache-control header fields set by the authentication layer. This issue affects Apache Tomcat: from 11.0.0-M1 thr…

  6. 7.7CVE-2026-130746

    Grav before 1.7.53.7 and 2.x before 2.2.18 serves page media files, and rendered pages when lazy sessions are enabled, with the visitor's session cookie and a shared-cacheable Cache-Control header. When a shared cache such as Apache mod_ca…

  7. 7.1CVE-2026-126818

    A Ruby object-document mapper does not apply its automatic field-level encryption configuration to certain fields when the data model uses class inheritance. Values the application designated for encryption are written to the database in r…

  8. 8.7CVE-2026-92545

    The proxy-cache and proxy-cache-advanced plugins in Kong Gateway Enterprise and Kong AI Gateway omit the request hostname from the cache key which may allow a response cached for a hostname to be served for another.

The newest records naming one of them. Each weakness's page lists them all.

Part of
Can lead to

MITRE's words, unchanged: CAPEC-204 at MITRE. CAPEC is Copyright © 2007–2026, The MITRE Corporation, used under the CAPEC terms of use: “The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use Common Attack Pattern Enumeration and Classification (CAPEC™) for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE’s copyright designation and this license in any such copy.” CAPEC and the CAPEC logo are trademarks of The MITRE Corporation. Credits. All attack patterns.