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.
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.
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
- Create a free-trial account and explore the dashboard.
- Notice the user plan stored in localStorage.
- Change the plan value in the browser console and refresh to see the interface update.
- Intercept a premium-only action (team invite) with Burp Suite.
- 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.