Skip to content
IDOR Write-up Beginner

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.

Smaran Chand Follow

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.

Smaran Chand (@smaranchand), on smaranchand.com.np

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

  1. Send the cancel-action API request with a valid action identifier.
  2. Change the action identifier to another valid numeric value.
  3. Observe that another account's pending action is cancelled.
  4. Send the request repeatedly through an intruder tool to brute many identifiers.
  5. 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.

More by Smaran Chand

View all

8 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

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.