CAPEC-130: Excessive Allocation

Meta Stable 严重程度: Medium 攻击可能性: Medium

CAPEC版本: 3.9

更新日期: 2023-01-24

攻击模式描述

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.

前提条件

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

所需资源

  • None: No specialized resources are required to execute this type of attack.

后果影响

影响范围: Availability

技术影响: Resource Consumption

说明: A successful excessive allocation attack forces the target system to exhaust its resources, thereby compromising the availability of its service.

缓解措施

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.

示例实例

In an Integer Attack, the adversary could cause a variable that controls allocation for a request to hold an excessively large value. Excessive allocation of resources can render a service degraded or unavailable to legitimate users and can even lead to crashing of the target.

分类映射

分类名称 条目ID 条目名称
ATTACK 1499.003 Endpoint Denial of Service:Application Exhaustion Flood
WASC 10 Denial of Service
关键信息

CAPEC ID: CAPEC-130

抽象级别: Meta

状态: Stable

典型严重程度: Medium

攻击可能性: Medium