Rate limit function bypass can leads to occur huge critical problem into website.
The site's rate limiting could be reset by adding a spoofed forwarding header with a different address on each request. An attacker could therefore send unlimited requests, such as email notifications or login and OTP attempts, without being blocked.
Originally disclosed on HackerOne
- Triaged in 9 hours
- Fixed in 3 days
- Disclosed after 11 days
Hello team, I have found a technique that can easily bypass rate limit system of website and with this bug we attacker can easily attack into login panel, Sent unlimited number of huge notification to victim, bypass OTP codes and takeover accounts etc. Basically i have added a header X-Forwarded-For: 127.0.0.1 which will bypass the rate limit and reset request limits . Every time rate limit exceeded just change IP to another one and rate limit will itself reset.
Step to Reproduce:
- Visit https://www.trycourier.app/
- Goto email section
- Enter victims email address
- Fire-up burp-suite and intercept the request
- Now Continue Sent request , If rate limit reached and blocked you then add X-Forwarded-For:127.0.0.1 header. This will easily reset rate limit. You can change IP address to 127.0.0.2 ,3,4,5,6 every time website blocked you.
( With this bypass you can easily send unlimited amount of huge email notification to victim and make victim annoying )
Impact
- Brute forcing login panel
- Trouble to the users on the website because huge email bombing can be done by the attackers within seconds.
- Brute force OTP codes etc.
Attachments
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the rate limiter keyed on a client-supplied forwarding header instead of the real connection address, so the counter could be reset at will.
Impact
An attacker could send unlimited email notifications to a victim and could brute force login and OTP codes, though the report only claims this rather than demonstrating it.
What the attacker needed
Ability to intercept and edit requests; a target email address
How it was found
- Open the site and go to the email section.
- Enter the victim's email address.
- Intercept the request with a proxy tool.
- Send the request until the rate limit blocks it.
- Add a forwarding header with a different address and resend to reset the limit.
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 report has not been written yet. The Original tab links to the source.
A rate limit is a cap on how many requests you can make in a period, used to slow down guessing and spam. This site trusted a header that claims which address a request came from, so changing that claim made the site think each request was a new visitor and start counting again. That let someone keep sending requests past the cap.
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.