Skip to content
Business logic Write-up Intermediate

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.

Muhammad Khizer Javed Follow

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.

Muhammad Khizer Javed (@khizer_javed47), on blog.securitybreached.org

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

  1. Send a signup request with a random phone number and a random 6-digit code.
  2. Manipulate the response to the verification request to bypass OTP verification.
  3. Proceed with the signup request, including a subscription object with desired values.
  4. 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.

More by Muhammad Khizer Javed

View all

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