XML Ping of Death
Attack Pattern ID: 147 (Standard Attack Pattern Completeness: Stub)Typical Severity: MediumStatus: Draft
+ Description

Summary

An attacker initiates a resource depletion attack where a large number of small XML messages are delivered at a sufficiently rapid rate to cause a denial of service or crash of the target. SecurityDatabase\Transaction\Transactions such as repetitive SOAP transactions can deplete resources faster than a simple flooding attack because of the additional resources used by the SOAP protocol and the resources necessary to process SOAP messages. The transactions used are immaterial as long as they cause resource utilization on the target. In other words, this is a normal flooding attack augmented by using messages that will require extra processing on the target.

+ Attack Prerequisites

The target must receive and process XML transactions

+ Resources Required

Transaction generator(s)/source(s) and ability to cause arrival of messages at the target with sufficient rapidity overload target. Larger targets may be able to handle large volumes of requests so the attacker may require significant resources (such as a distributed bot network) to affect the target. However, the resources required of the attacker would be less than in the case of a simple flooding attack against the same target.

+ Solutions and 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.

+ Related Weaknesses
CWE-IDWeakness NameWeakness Relationship Type
400Uncontrolled Resource Consumption ('Resource Exhaustion')Targeted
770Allocation of Resources Without Limits or ThrottlingTargeted
+ Related Attack Patterns
NatureTypeIDNameDescriptionView(s) this relationship pertains toView\(s\)
ChildOfAttack PatternAttack Pattern82Violating Implicit Assumptions Regarding XML Content (aka XML Denial of Service (XDoS)) 
Mechanism of Attack (primary)1000