Skip to content
Business logic Disclosed report Beginner

Missing rate limit in signup Form

The signup endpoint lacks rate limiting, allowing an attacker to send unlimited requests to check if an email is already registered. This enables enumeration of all user emails and creation of many fake accounts.

ahmedelmalky Follow

Originally disclosed on HackerOne

Medium 5.3 View original
  • Triaged in 19 hours
  • Fixed in 7 days
  • Disclosed after 36 days

Hello Team , ##Description When signing up for an account, you enter your email. When this email is already in use, the server responds with {"UserConfirmed":true,"UserSub":"ae294fff-6d55-407d-9676-1f3518029037"} This in not a problem, but the fact that you could send this request unlimited times is the issue.

This way we can easily get a list of all users emails signed up at" trycourier App" .

Vulnerable Endpoint :https://www.trycourier.app/register/email

POC : Watch The Video Please .

Link OF POC in Video : https://drive.google.com/file/d/1aA6MHjLx5u29RhzqOZzlNqKYuOPbwBrE/view?usp=sharing

Now i have 200 responses with status 200 .

that 's mean that i have created 200 new account

when the request repeat with same email it response with 500 {"__type":"UsernameExistsException","message":"An account with the given email already exists."} that mean it just in the Bucket [recorded in DB ].

##Fix

to fix this issue, you could implement an timeout after a number of requests in a period of time.

to return "429 Too Many Requests" when making multiple requests in a short period of time

or use capatcha .

Impact

the attacker can make for example 1 M request that lead to fill your DB with fake accounts .

report From H1 : https://hackerone.com/reports/275186

Attachments

Screenshot_from_2020-06-22_23-30-44.png
Screenshot_from_2020-06-22_23-30-44.png From the original on HackerOne

The original report as published on HackerOne, by ahmedelmalky. 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 signup endpoint does not enforce any rate limiting or CAPTCHA, allowing unlimited requests.

Impact

An attacker could enumerate all registered emails and create many fake accounts, potentially filling the database.

What the attacker needed

None

The fix

Implement rate limiting (returning 429 Too Many Requests) or a CAPTCHA to prevent abuse.

How it was found

  1. Send a signup request with an email address to the vulnerable endpoint.
  2. Observe the response indicating whether the email exists.
  3. Repeat the request many times with different emails to enumerate users or create accounts.

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.

When you sign up, the server tells you if an email is already used. Without a limit on how many times you can ask, someone can try many emails quickly to find out which ones have accounts. They can also create lots of fake accounts, filling the database.

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 ahmedelmalky

View all

2 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.