Skip to content
Business logic Write-up Beginner

[BugBounty] how do I get a premium tier account without paying a penny

A registration endpoint accepted a hidden parameter that let a new user set their own account tier, so anyone could obtain a premium subscription without paying. The author found it by fuzzing for undocumented parameters during signup.

Marzuki Follow

Published on iamnoob.medium.com

Hello, after a long time of not writing, I wanted to write something unique. what I found here is privilege escalation, wherein attackers can get premium tier accounts without paying. I found a bug in a private program on bugcrowd.

Marzuki, on iamnoob.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 handler bound a hidden client-supplied parameter (the account tier) to the new user record without checking it against the allowed default.

Impact

An attacker could obtain a premium account, normally costing $50 per month, without paying anything.

What the attacker needed

Access to the registration endpoint; ability to send custom requests

How it was found

  1. Enumerate parameters on the registration request, including POST JSON bodies, using a parameter discovery tool.
  2. Watch the results in the proxy's logging extension to spot the hidden parameter.
  3. Send the registration request with the discovered parameter added.
  4. Observe that the resulting account is premium without any payment.

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, the website sends your details to a server. This server also quietly accepts an extra field the normal signup form never shows, and that field controls whether your account is free or paid. By adding it themselves, a user could give themselves the paid tier for nothing.

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.

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.