No Rate limiting eligible for bounty ?
An API endpoint that cancels pending actions accepted a numeric action identifier and did not check that it belonged to the caller, so changing the value let the author cancel other users' pending operations. The same endpoint also had no rate limiting, so the author could send many requests quickly and disclose many users' information and trigger large numbers of emails.
Published on smaranchand.com.np
I have seen most of the peoples searching for No rate limiting issue at endpoints like password reset resulting into mass email triggering, SMS triggering or sometimes abusing it for other common activities.
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 endpoint trusted a client-supplied action identifier without checking ownership, and it had no rate limiting to slow repeated requests.
Impact
An attacker could cancel other users' pending operations, disclose personal information in bulk, and spam individuals' inboxes with many emails.
What the attacker needed
A valid account; knowledge of a valid action identifier
The fix
The endpoint should verify that the action identifier belongs to the requesting user and should apply rate limiting to repeated requests.
How it was found
- Send the cancel-action API request with a valid action identifier.
- Change the action identifier to another valid numeric value.
- Observe that another account's pending action is cancelled.
- Send the request repeatedly through an intruder tool to brute many identifiers.
- Filter responses to collect user information and note the mass emails sent.
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.
A web app often uses a number in a request to say which record to act on. If the server does not check that the record belongs to the person making the request, anyone can change the number and touch someone else's data. Here the server also allowed unlimited requests, so the same trick could be repeated at speed to affect many people.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.