Unrestriced Resource Consumption

circle-info

Unrestricted Resource Consumption occurs when an application allows users to consume excessive amounts of system resources (e.g., CPU, memory, bandwidth) without proper limits or controls.

triangle-exclamation
circle-check

The below example is based on HTB's API Attacksarrow-up-right module.

Lack of limiting user-initiated requests that consume resources can lead to DoS attacks (Figure 1) as well as BF attacks (Figure 2).

Figure 1: A potentlally-vulnerable to Uncontrolled Resource Consumption endpoint.
Figure 2: Uploading the PDF file.
circle-exclamation
Figure 3: Performing a BFA for the user's email due to lack of rate-limiting measures.

Last updated