Skip to content
Business logic Write-up Beginner

I locked unlimited subdomains on a SaaS platform without even finishing registration — and the…

The registration flow reserved a chosen subdomain before email verification or account activation, and if registration failed the subdomain remained permanently reserved with no way to recover it. An attacker could script the process to lock unlimited subdomains, preventing legitimate customers from using them.

bugwraith Follow

Published on bugwraith.medium.com

A ghost tenant, a broken registration flow, and a permanently blocked namespace. Welcome to SaaS logic bugs

BugWraith (Lokesh), on bugwraith.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 registration flow commits the subdomain reservation before the account is fully created or verified, and lacks a cleanup step if the process fails.

Impact

An attacker could permanently reserve unlimited subdomains, blocking legitimate customers from using them, and the platform had no rate limiting or CAPTCHA to prevent automation.

What the attacker needed

No account needed; ability to intercept and modify HTTP responses

The fix

The registration flow should only reserve the subdomain after the account is fully created and verified, or release the reservation if registration fails.

How it was found

  1. Go to the registration page.
  2. Fill in account details and pick a unique subdomain.
  3. Intercept the registration response using a proxy tool.
  4. Modify any value in the response and forward it.
  5. The UI shows an error and the account is not created.
  6. Try logging in or resetting the password: both fail, but the subdomain remains reserved.

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 for a service, it often saves your chosen name (like a subdomain) right away to stop two people picking the same one. Here, if the sign-up broke after that save, the name stayed reserved forever even though no real account existed. An attacker could repeat this to block many names, stopping real customers from using them.

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 bugwraith

View all

1 more disclosed report, 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.