Hacking Subscription Plans for free service.
The application allowed users to bypass mobile number verification by manipulating the response to the OTP verification request, and the account signup request accepted a subscription object, enabling attackers to create accounts with free paid subscriptions. An attacker could thus access paid content without paying and set an unlimited subscription duration.
Published on blog.securitybreached.org
The blog post describes how I was able to bypass subscription plans to get access to paid services for free.
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 server trusted client-side responses for OTP verification and failed to validate or restrict the subscription fields in the signup request, allowing users to set arbitrary subscription data.
Impact
An attacker could create an account with a free paid subscription and extend its duration arbitrarily, gaining access to paid content without payment.
What the attacker needed
No account required; Ability to intercept and modify HTTP responses
The fix
The application should properly validate OTPs server-side and not allow clients to set subscription details in signup requests.
How it was found
- Send a signup request with a random phone number and a random 6-digit code.
- Manipulate the response to the verification request to bypass OTP verification.
- Proceed with the signup request, including a subscription object with desired values.
- Modify durationDays, subscriptionStartDateTime, and subscriptionEndDateTime to extend the subscription.
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 app required a phone number from a specific country to sign up, and it sent a code to verify that number. The attacker found they could skip the code check by changing the server's response, and then they could include a fake subscription in the signup request to get paid 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.