No Rate Limit: The Easiest Bug Bounty Payout You’re Missing
The OTP-sending endpoint lacked rate limiting, so an attacker could send unlimited OTP requests for a given account number. This could exhaust resources and flood users with emails and text messages.
medium.com
Published on medium.com
Rate limiting is a common security control used by developers to prevent abuse, brute-force attacks, and API misuse. However, misconfigurations where no rate limit is implemented can lead to serious vulnerabilities, allowing attackers to perform account takeovers, scrape data, or exploit business logic flaws.
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 OTP-sending endpoint had no server-side limit on how many requests a client could make for the same account number.
Impact
An attacker could send unlimited OTP requests, which could exhaust resources and flood users' emails and text messages with OTPs.
What the attacker needed
Access to the OTP endpoint; a valid account number parameter; Burp Suite or similar proxy
The fix
The endpoint should enforce server-side rate limiting per account and per client so that OTP requests are capped within a time window.
How it was found
- Set up Burp Suite and configure the proxy to capture traffic.
- Find a target function such as login, password reset, or send OTP; here it was the OTP function.
- Send the request, for example by requesting an OTP or logging in with random credentials.
- Capture the request in Burp.
- Send the request to Intruder and mark the account number parameter as the payload position.
- Choose a null payload type and start the attack, then observe that requests keep succeeding.
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.
Rate limiting is a cap on how many times someone can do something in a set time, like requesting a login code. Without it, a script can ask for a new code over and over. Here that meant the site kept sending codes with no limit, which wastes server resources and spams the person's phone or inbox.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.