“Day 30: The Finale — The Bug That Almost Broke the Internet (Or Just My Testing Account)”
The API endpoint for creating background tasks accepted an arbitrarily large workerCount value without a maximum limit, causing the platform to provision thousands of cloud workers and incur over $25,000 in costs. An attacker could exploit this to cause financial damage or exhaust resources.
infosecwriteups.com
Published on infosecwriteups.com
Well, folks, we’ve reached Day 30. It’s been a wild ride, and I’ve saved one of my most memorable stories for last.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the API lacked a hard upper limit on the workerCount parameter and the provisioning system had no account-level spending caps, allowing unbounded resource creation.
Impact
The platform incurred over $25,000 in cloud costs within minutes, and the account was suspended; a longer attack could have cost millions.
What the attacker needed
A valid API token; access to the task creation endpoint
The fix
The company implemented strict input validation with a hard maximum, account-level hard limits, and rate limiting.
How it was found
- Send a request to the task creation API with a small workerCount to confirm it works.
- Increase workerCount to larger values (e.g., 1000, 10000, 65536) and observe that all succeed.
- Send a request with workerCount set to one billion.
- Observe that the system attempts to provision workers, eventually returning 429 and 500 errors and suspending the account.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
The platform let users ask for a certain number of background workers to run a script. It didn't check if that number was reasonable, so someone could ask for a billion workers. The system tried to create them all, which cost a lot of money and overloaded the service.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.