unrestricted resource consumption
OWASP's name for APIs that let callers spend unlimited processor time, memory, connections, rows or money.
It lets one caller degrade or run up the bill for everyone.
In more detail
An attacker can exhaust a service without reading any protected data, for example with unlimited login guesses or a request for a million rows. Put bounds at the API boundary with a key, a budget and a clear response.
Related terms
- rate limiting — Capping how many requests a client may make in a period of time, and rejecting or delaying the rest.
- pagination — Splitting a large collection into bounded pages, each with a way to ask for the next one.
- denial of service — An attack that makes a service unavailable to its real users by overloading it or making it crash.
Taught in
- Rate Limiting And Resource Consumption — Application Security & Threat Modeling for Engineers