cve.bz

CAPEC-141

Cache Poisoning

High severityHigh likelihoodStandard pattern

An attacker exploits the functionality of cache technologies to cause specific data to be cached that aids the attackers' objectives. This describes any attack whereby an attacker places incorrect or harmful material in cache. The targeted cache can be an application's cache (e.g. a web browser cache) or a public cache (e.g. a DNS or ARP cache). Until the cache is refreshed, most applications or clients will treat the corrupted cache value as valid. This can lead to a wide range of exploits including redirecting web browsers towards sites that install malware and repeatedly incorrect calculations based on the incorrect value.

On this page

Ask an AI about this attack pattern

Show the promptExplain the attack pattern CAPEC-141: Cache Poisoning: how it unfolds, what it needs and how to prevent and detect it in my systems. Use https://capec.mitre.org/data/definitions/141.html and https://cve.bz/cve/capec/141?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 and explore caches] Use tools to sniff traffic and scan a network in order to locate application's cache (e.g. a web browser cache) or a public cache (e.g. a DNS or ARP cache) that may have vulnerabilities. Look for poisoning point in cache table entries.

      1 technique
      • Run tools that check available entries in the cache.
  2. Experiment

    They probe what they found.

    1. [Cause specific data to be cached] An attacker sends bogus request to the target, and then floods responses that trick a cache to remember malicious responses, which are wrong answers of queries.

      1 technique
      • Intercept or modify a query, or send a bogus query with known credentials (such as transaction ID).
  3. Exploit

    They carry out the attack.

    1. [Redirect users to malicious website] As the attacker succeeds in exploiting the vulnerability, they are able to manipulate and interpose malicious response data to targeted victim queries.

      2 techniques
      • Intercept or modify a query, or send a bogus query with known credentials (such as transaction ID).
      • Adversary-in-the-Middle attacks (CAPEC-94) intercept secure communication between two parties.

Prerequisites

  • The attacker must be able to modify the value stored in a cache to match a desired value.

  • The targeted application must not be able to detect the illicit modification of the cache and must trust the cache value in its calculations.

Skills required

  • Medium skill

    To overwrite/modify targeted cache

Mitigations

  • Configuration: Disable client side caching.

  • Implementation: Listens for query replies on a network, and sends a notification via email when an entry changes.

Weaknesses it exploits

  • CWE-345 Insufficient Verification of Data Authenticity
  • CWE-346 Origin Validation Error
  • CWE-348 Use of Less Trusted Source
  • CWE-349 Acceptance of Extraneous Untrusted Data With Trusted Data

Recent CVEs with these weaknesses

  1. 5.5CVE-2026-130474

    A signature validation vulnerability exists in Foxit PDF Editor/Reader due to insufficient semantic verification of incrementally updated PDF documents. An attacker may alter the displayed content of a signed document while its digital sig…

  2. 5.3CVE-2026-139818

    A weakness has been identified in vllm-project vLLM up to 0.34.0. The impacted element is the function ProcessorInputs.get_mm_hashes of the file vllm/multimodal/processing/inputs.py of the component Multimodal Processing. This manipulation…

  3. 9.3CVE-2026-137189

    Jupyter MCP Server is a Model Context Protocol server for Jupyter. Prior to 2.1.3, ManagementRouteSecurityMiddleware in jupyter_mcp_server/server.py checks request.url.hostname rather than the actual TCP peer before permitting access to /a…

  4. 4.4CVE-2026-137028

    Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-os-mini-wasm version 0.57.2, enclave-vaults version 0.33.0, and enclave-cluster version 0.8.0, the sealed key-value store aut…

  5. 7.5CVE-2026-102735

    mcp-server-kubernetes is a Model Context Protocol server for Kubernetes cluster management. Prior to version 4.0.8, the SSE transport of mcp-server-kubernetes does not validate the Host header of incoming requests, which makes it vulnerabl…

  6. 6.9CVE-2026-139874

    Jivejdon through 5.0 contains an IP spoofing vulnerability in IPForwardingFilter that allows unauthenticated attackers to forge client addresses via untrusted X-Forwarded-For headers. Attackers can send arbitrary X-Forwarded-For values to …

  7. 6.5CVE-2026-137398

    A flaw was found in Keylime. During initial enrollment, the registrar accepts an agent's attestation key without verifying that it is a restricted signing key bound to a hardware Trusted Platform Module (TPM). An attacker controlling the a…

  8. 6.5CVE-2026-137397

    A flaw was found in Keylime. During Trusted Platform Module (TPM) quote verification, the system reads Platform Configuration Register (PCR) identifiers from unsigned data rather than the cryptographically signed quote information. An atta…

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

Part of
More specific patterns

Examples

In this example, an attacker sends request to a local DNS server to look up www.example .com. The associated …

In this example, an attacker sends request to a local DNS server to look up www.example .com. The associated IP address of www.example.com is 1.3.5.7.

Local DNS usually caches IP addresses and do not go to remote DNS every time. Since the local record is not found, DNS server tries to connect to remote DNS for queries. However, before the remote DNS returns the right IP address 1.3.5.7, the attacker floods local DNS with crafted responses with IP address 2.4.6.8. The result is that 2.4.6.8 is stored in DNS cache. Meanwhile, 2.4.6.8 is associated with a malicious website www.maliciousexampsle.com

When users connect to www.example.com, the local DNS will direct it to www.maliciousexample.com, this works as part of a Pharming attack.

MITRE's words, unchanged: CAPEC-141 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.