Skip to content
Business logic Write-up Beginner

Episode 1: The Validation Mirage — How I Found a Premium Account Bug Without Paying a Penny

The backend did not verify the user's subscription plan before executing a premium-only action, so a free trial user could invite team members. An attacker could access paid features without paying.

Yamini Yadav_369 Follow

Published on osintteam.blog

Every bug hunter knows that web applications are full of secrets. Some hide in HTML comments, others in forgotten API endpoints.

Yamini Yadav_369, on osintteam.blog

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 trusted the client-side plan value and did not perform its own authorisation check before executing premium actions.

Impact

A free user could gain access to premium functionality without paying, leading to revenue loss and privilege escalation.

What the attacker needed

A free trial account; ability to intercept and modify requests

The fix

The backend should validate the user's plan and permissions server-side for every restricted API call.

How it was found

  1. Create a free-trial account and explore the dashboard.
  2. Notice the user plan stored in localStorage.
  3. Change the plan value in the browser console and refresh to see the interface update.
  4. Intercept a premium-only action (team invite) with Burp Suite.
  5. Replay the request directly and observe a successful response.

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 website has two parts: the frontend (what you see in the browser) and the backend (the server that does the real work). Here, the frontend hid premium buttons from free users, but the backend never checked if the user had paid before doing the action. So anyone could send the request directly and get premium features 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 Yamini Yadav_369

View all

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