CAPECattack pattern
CAPEC-130 Excessive Allocation
Medium
Official page ↗
- Abstraction
- Meta
- Status
- Stable
- Likelihood of attack
- Medium
- Typical severity
- Medium
- CAPEC version
- 3.9
Description
An adversary causes the target to allocate excessive resources to servicing the attackers' request, thereby reducing the resources available for legitimate services and degrading or denying services. Usually, this attack focuses on memory allocation, but any finite resource on the target could be the attacked, including bandwidth, processing cycles, or other resources. This attack does not attempt to force this allocation through a large number of requests (that would be Resource Depletion through Flooding) but instead uses one or a small number of requests that are carefully formatted to force the target to allocate excessive resources to service this request(s). Often this attack takes advantage of a bug in the target to cause the target to allocate resources vastly beyond what would be needed for a normal request.
Prerequisites
• The target must accept service requests from the attacker and the adversary must be able to control the resource allocation associated with this request to be in excess of the normal allocation. The latter is usually accomplished through the presence of a bug on the target that allows the adversary to manipulate variables used in the allocation.
Consequences
• Availability: Resource Consumption
Mitigations
• Limit the amount of resources that are accessible to unprivileged users.
• Assume all input is malicious. Consider all potentially relevant properties when validating input.
• Consider uniformly throttling all requests in order to make it more difficult to consume resources more quickly than they can again be freed.
• Use resource-limiting settings, if possible.
Related
Att&ck technique · MITRE ATT&CK (1)
- T1499.003 Application Exhaustion Flood sub-technique
Weakness · CWE (3)
Referenced by CAPEC · child of (7)
- CAPEC-230 Serialized Data with Nested Payloads attack pattern
- CAPEC-231 Oversized Serialized Data Payloads attack pattern
- CAPEC-492 Regular Expression Exponential Blowup attack pattern
- CAPEC-493 SOAP Array Blowup attack pattern
- CAPEC-494 TCP Fragmentation attack pattern
- CAPEC-495 UDP Fragmentation attack pattern
- CAPEC-496 ICMP Fragmentation attack pattern