CAPECattack pattern

CAPEC-147 XML Ping of the Death

Medium Official page ↗
Abstraction
Detailed
Status
Draft
Likelihood of attack
Low
Typical severity
Medium
CAPEC version
3.9

Description

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. 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.

Execution flow

1. [Explore] [Survey the target] Using a browser or an automated tool, an attacker records all instance of web services to process XML requests. 2. [Exploit] [Launch a resource depletion attack] The attacker delivers a large number of small 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.

Prerequisites

• The target must receive and process XML transactions.

Skills required

• [Low] To send small XML messages • [High] To use distributed network to launch the attack

Consequences

• Availability: Resource Consumption

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

Child of · CAPEC (1)

Weakness · CWE (2)

  • CWE-400 Uncontrolled Resource Consumption weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

Referenced by CWE · attack pattern (2)

  • CWE-400 Uncontrolled Resource Consumption weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling weakness