Slide 3 of 28
Part 1 ยท What Is It?Slide 3
Slide 3 ยท The Definition
What OWASP says.
Five resource categories. One missing control.
๐Ÿ“„ OWASP API Security Top 10 ยท 2023 ยท API4
The OWASP Definition

"Satisfying API requests requires resources such as network bandwidth, CPU, memory, and storage. Sometimes required resources are made available by service providers via API integrations, and paid for per request... An API is vulnerable if at least one of the following limits is missing or set inappropriately:"

Missing limits that create the risk
Execution timeouts โ€” how long a single request can run
Maximum allocatable memory per request
Maximum number of file descriptors or processes
Maximum upload file size
Number of operations in a single client request (GraphQL batching)
Number of records returned per page in a paginated response
Rate of requests per client per time window
What happens without them
Requests run forever โ€” hold connections indefinitely
One request can OOM-kill the server process
Server runs out of file handles โ€” other requests fail
100GB uploads accepted โ€” disk fills, service dies
One GraphQL request pulls 10,000 nested relationships
One request returns millions of records โ€” DB and network saturated
Attacker sends 10,000 req/sec โ€” service unavailable for real users
โ† Back How does this differ from a DDoS? โ†’