cve.bz

CAPEC-528

XML Flood

Medium severityLow likelihoodStandard pattern

An adversary may execute a flooding attack using XML messages with the intent to deny legitimate users access to a web service. These attacks are accomplished by sending a large number of XML based requests and letting the service attempt to parse each one. In many cases this type of an attack will result in a XML Denial of Service (XDoS) due to an application becoming unstable, freezing, or crashing.

On this page

XDoS is most closely associated with web services, SOAP, and Rest, because remote service requesters can post malicious XML payloads to the service provider designed to exhaust the service provider's memory, CPU, and/or disk space. The main weakness in XDoS is that the service provider generally must inspect, parse, and validate the XML messages to determine routing, workflow, security considerations, and so on. It is exactly these inspection, parsing, and validation routines that XDoS targets. This attack exploits the loosely coupled nature of web services, where the service provider has little to no control over the service requester and any messages the service requester sends.

Ask an AI about this attack pattern

Show the promptExplain the attack pattern CAPEC-528: XML Flood: how it unfolds, what it needs and how to prevent and detect it in my systems. Use https://capec.mitre.org/data/definitions/528.html and https://cve.bz/cve/capec/528?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. [Survey the target] Using a browser or an automated tool, an attacker records all instance of web services to process XML requests.

      2 techniques
      • Use an automated tool to record all instances of URLs to process XML requests.
      • Use a browser to manually explore the website and analyze how the application processes XML requests.
  2. Experiment

    They probe what they found.

    1. An adversary crafts input data that may have an adverse effect on the operation of the web service when the XML data sent to the service.

  3. Exploit

    They carry out the attack.

    1. [Launch a resource depletion attack] The attacker delivers a large number of XML messages to the target URLs found in the explore phase at a sufficiently rapid rate. It causes denial of service to the target application.

      1 technique
      • Send a large number of crafted XML messages to the target URL.

Prerequisites

  • The target must receive and process XML transactions.

  • An adverssary must possess the ability to generate a large amount of XML based messages to send to the target service.

Skills required

  • Low skill

    Denial of service

Signs of an attack

  • A large amount of data is passed to the XML parser possibly making it crash or otherwise unavailable to end users.

Consequences

What a successful attack can lead to
ImpactAffectsNote
Resource ConsumptionAvailability

Mitigations

  • Design: Build throttling mechanism into the resource allocation. Provide for a timeout mechanism for allocated resources whose transaction does not complete within a specified interval.

  • Implementation: Provide for network flow control and traffic shaping to control access to the resources.

Weaknesses it exploits

  • CWE-770 Allocation of Resources Without Limits or Throttling

Recent CVEs with these weaknesses

  1. 5.3CVE-2026-34870

    Allocation of Resources Without Limits or Throttling in Hitachi Disk Array Systems. This issue affects Hitachi Virtual Storage Platform One Block 28: before DKC MAIN A3-05-21-40/00, ESM A3-05-21/00; Hitachi Virtual Storage Platform One Bl…

  2. 6.5CVE-2026-140063

    A flaw was found in glib2. An authenticated remote attacker can cause a Denial of Service (DoS) by sending a crafted D-Bus message header declaring a maximum message length before transmitting the message body. This causes the GDBus messag…

  3. 6.2CVE-2026-139844

    A flaw was found in glib2. A local attacker can cause a Denial of Service (DoS) by exhausting file descriptors in an application that communicates over UNIX domain sockets using GDBus. By repeatedly sending malformed or incomplete messages…

  4. 5.3CVE-2026-121473

    A flaw was found in sequoia-net. When retrieving certificates from an HTTP Keyserver Protocol (HKP) or Web Key Directory (WKD) server, incoming responses are buffered in memory without an enforced size limit. A malicious or compromised ser…

  5. 7.5CVE-2026-140015

    websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.9.1, a server piping socket bytes into websocket-driver continued adding data to an internal buffer after a WebSocket close frame caused the drive…

  6. 7.5CVE-2026-140009

    ws is an open source WebSocket client and server for Node.js. Prior to 5.2.8, 6.2.7, 7.5.14, and 8.23.0, a malicious WebSocket peer can send Ping frames while stopping reads, causing ws to generate and buffer automatic Pong responses witho…

  7. 7.5CVE-2026-140002

    websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.1, receiving a WebSocket close frame moves the driver into a state where the parser no longer consumes input, but a half-open TCP client can con…

  8. 7.5CVE-2026-140001

    websocket-driver is a WebSocket protocol handler with pluggable input and output. Prior to 0.8.1, the fragmented-message buffer stores every received frame payload, including zero-length Buffer objects, until a final fragment arrives. An u…

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

Part of
More specific patterns

Examples

Consider the case of attack performed against the createCustomerBillingAccount Web Service for an online stor…

Consider the case of attack performed against the createCustomerBillingAccount Web Service for an online store. In this case, the createCustomerBillingAccount Web Service receives a huge number of simultaneous requests, containing nonsense billing account creation information (the small XML messages). The createCustomerBillingAccount Web Services may forward the messages to other Web Services for processing. The application suffers from a high load of requests, potentially leading to a complete loss of availability the involved Web Service.

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