Skip to content
Business logic Disclosed report Beginner

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.

basant0x01 Follow

Originally disclosed on HackerOne

Medium 5.3 View original
  • 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:

  1. Visit https://www.trycourier.app/
  2. Goto email section
  3. Enter victims email address
  4. Fire-up burp-suite and intercept the request
  5. 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

  1. Brute forcing login panel
  2. Trouble to the users on the website because huge email bombing can be done by the attackers within seconds.
  3. Brute force OTP codes etc.

Attachments

Rate_Limit_Bypass__Courier_.mp4 From the original on HackerOne

The original report as published on HackerOne, by basant0x01. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Open the site and go to the email section.
  2. Enter the victim's email address.
  3. Intercept the request with a proxy tool.
  4. Send the request until the rate limit blocks it.
  5. 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.

More by basant0x01

View all

12 more disclosed reports, best first.

More from Courier

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.