Skip to content
Access control Write-up Beginner

How I Found Unlimited Account Creation Vulnerability Due to Improper Access Control

The registration pipeline lacked server-side checks, so anyone could create accounts without email verification and immediately receive a valid JWT token. An attacker could automate this to create many functional accounts rapidly.

iamshafayat Follow

Published on medium.com

During my bug bounty hunting journey, I was testing a web platform when I discovered a significant vulnerability in their user registration system. The application allowed anyone to create an unlimited number of accounts without any email verification or proper access controls.

Shafayat Ahmed Alif, on 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 backend registration endpoints did not enforce email verification or rate limits, and issued tokens directly after a multi-step flow.

Impact

An attacker could create thousands of fake accounts rapidly, causing database bloat and enabling abuse of platform features such as reviews, promotions and referrals.

What the attacker needed

No account needed; ability to send HTTP requests

The fix

The registration flow should be fixed by enforcing email verification and adding server-side rate limits or other controls to prevent mass account creation.

How it was found

  1. Intercept the signup requests with a proxy tool.
  2. Send a registration request with an email and password to receive an authorization code.
  3. Exchange the authorization code for a JWT token.
  4. Use the email and password to log in to the new account.

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.

When you sign up on a website, the server should check that you are a real person and that you verified your email. Here, the server skipped those checks and handed out a login token straight away. That meant a script could sign up over and over, creating lots of fake accounts.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by iamshafayat

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.