Skip to content
Business logic Write-up Beginner

The Infinite Loop: How I Bypasssed Protection on a Major E-Commer

The registration and password reset endpoints lacked rate limiting, allowing an attacker to send many requests without restriction. This could let an attacker create numerous fake accounts or flood a victim's inbox with password reset emails.

zer0figure Follow

Published on zer0figure.medium.com

Every hacker remembers their first valid finding. It’s that moment when the application stops behaving like a polite piece of software and starts doing exactly what you tell it to do.

Zer0Figure, on zer0figure.medium.com

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 application did not implement any rate limiting or throttling mechanism on the registration and password reset endpoints.

Impact

An attacker could create many fake accounts, potentially exhausting database resources, damaging reputation, and incurring costs from email services; similarly, password reset flooding could bury important notifications.

What the attacker needed

No account needed; ability to send HTTP requests

The fix

The application should implement rate limiting on registration and password reset endpoints to restrict the number of requests per user or IP address within a timeframe.

How it was found

  1. Navigate to the registration page and capture the sign-up request.
  2. Send the request to an automated tool and set the email parameter to vary.
  3. Configure the tool to send 100 requests with different email addresses.
  4. Launch the attack and observe that all requests return 200 OK.
  5. Repeat the process on the password reset endpoint to trigger many reset emails.

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 like a bouncer at a club who limits how many people can enter at once. Without it, someone can send thousands of requests to a website very quickly. Here, the sign-up and password reset forms had no such limit, so an attacker could create many fake accounts or send many reset emails.

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 zer0figure

View all

11 more disclosed reports, best first.

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.