Skip to content
Business logic Write-up Beginner

How I bypassed payment in one of the popular mobile apk and got free subsciption

The mobile app trusted a client-supplied payment amount, so an attacker could change the amount in the purchase request to a trivial sum and still receive the subscription. The author did this and obtained the paid subscription for a fraction of the price.

deepk007 Follow

Published on medium.com

Helloo hackers, I hope you are doing well, in this blog I’m gonna show you how I bypassed the payment in one of the popular talking application. At the time of this writing this applicatoin has over 4M+ downloads.

Deep, on medium.com

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 accepted the payment amount from the client request without validating it against the expected price.

Impact

An attacker could obtain a paid subscription without paying the full price, causing financial loss to the service.

What the attacker needed

A mobile device or emulator; a proxy to intercept traffic; an account in the app

How it was found

  1. Set up a mobile testing environment with a proxy and install the app.
  2. Open the subscription section and choose a package.
  3. Capture the purchase request.
  4. Change the amount in the request to a very small value.
  5. Submit the modified request and receive 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.

When you buy something in an app, the app sends a request to a server saying what you want and how much you will pay. Here the server believed the amount sent by the app instead of checking the real price itself. So someone could edit that request and pay almost nothing while still getting the paid feature.

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 deepk007

View all

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