Skip to content
Business logic Write-up Beginner

From Zero to Free Credits: Abusing a Referral System Like a Lazy

The referral system rewarded credits instantly after a basic signup, with no checks on disposable email addresses, rate limiting, CAPTCHA, or referral caps. An attacker could repeatedly invite and register accounts to farm credits and add unlimited team members without paying for the premium plan.

MostReal Follow

Published on medium.com

It was one of those nights. No scope looked promising, no bounty felt motivating, and I was just browsing around logged in to a random web app I’d used before.

MostReal, 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 referral reward was granted immediately on signup with no verification of the invited email, no rate limiting, and no cap on referrals or team members.

Impact

An attacker could farm unlimited free credits and add unlimited team members, bypassing a premium feature that normally costs $30–$90 per month.

What the attacker needed

A free account on the app; access to a disposable email service; no special tools required

The fix

The referral reward should be granted only after email verification, with CAPTCHA, disposable-email detection, rate limiting on invites and signups, and a hard cap on referrals per account.

How it was found

  1. Open the invite-a-friend feature and enter a disposable email address.
  2. Receive the invite email in the temporary inbox and open the link.
  3. Sign up in a separate incognito tab; the referrer account receives credits.
  4. Repeat the invite, signup and reward cycle many times.
  5. Observe that invited users are added as team members, bypassing the paid user 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 write-up has not been written yet. The Original tab links to the source.

A referral programme gives existing users a reward when they invite new people. Here the app paid out the reward as soon as the invited account was created, without checking whether the email was real or whether the same person was doing it over and over. That let someone create many fake accounts and collect rewards and paid team seats for free.

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 MostReal

View all

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