Subscription Bypass Leading to Full Access to Paid Features
A business logic flaw in plan management allowed an attacker to switch to an internal 'dev' plan that granted a fresh 14-day free trial, then switch to the Enterprise plan to retain the trial and unlock all paid features without payment. This enabled sending and downloading projects after the original trial expired, bypassing the subscription requirement.
Published on medium.com
Hi, my name is Hossam Hamada, I’m a Bug Bounty Hunter, and today I’ll be sharing a vulnerability I discovered in a Bug Bounty program on HackerOne. For confidentiality reasons, I’ll refer to the target as example.com throughout this article.
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 plan-switching endpoint did not validate whether the user was eligible for a new trial and failed to reset trial status when moving between plans, allowing trial extension via an internal plan.
Impact
An attacker could bypass the subscription requirement and access all paid features, including sending and downloading projects, without payment, breaking the platform's business model.
What the attacker needed
A free account; ability to intercept and modify requests; wait for trial to expire
How it was found
- Create an account and note the 14-day free trial on the Starter plan.
- Observe a feature that offers an automatic upgrade to Enterprise and capture the plan-switching request.
- Search Burp history for other plan identifiers and find an API response listing many plans.
- After the trial expires, switch to the 'dev' plan to obtain a new 14-day trial.
- Switch from the 'dev' plan to the Enterprise plan; the trial remains active and all features unlock.
- Send or download projects without paying.
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.
The platform had a hidden 'dev' plan meant for developers. Switching to it gave a new free trial period. By then switching to the paid Enterprise plan, the trial carried over, so the attacker could use all paid features for free. This is a logic flaw because the system did not properly check or reset trial eligibility when changing plans.
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.