Skip to content
Business logic Write-up Beginner

How i Bought VPS, Hosting, Domain only $0.01

The online store sent the payment amount in a client-controlled POST request to PayPal, allowing the attacker to change the price to $0.01. The hosting provider only checked the transaction ID and not the paid amount, so a $0.01 payment activated a service worth about $90.

Zerb0a Follow

Published on medium.com

Bounty$500 View original

Helo Guys My Name is Rafli Pasya. So This Story gonna Tell you how i Found the Simple Vulnerability with Huge Impact .

zer, 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 application trusted client-supplied payment parameters (amount and tax) and did not verify the actual paid amount against the order total.

Impact

An attacker could buy products or hosting services for a fraction of the real price, causing financial loss to the merchant.

What the attacker needed

Access to the checkout page; ability to intercept and modify requests

The fix

The payment amount should be validated server-side against the order total, and the hosting provider should check the paid amount, not just the transaction ID; the text says the issue was fixed.

How it was found

  1. Visit the online store and click the PayPal checkout button.
  2. Intercept the POST request to PayPal and change the amount and tax values to a very small amount.
  3. Complete the payment and receive a confirmation email from the store.
  4. Click the confirmation button and see the order marked as paid.
  5. On the hosting site, pay a small amount and the service is activated because only the transaction ID is checked.

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 online, the shop tells the payment service how much to charge. Here the shop trusted the amount sent from the buyer's browser, so the buyer could edit it to almost nothing. The hosting site then only checked that a payment happened, not that the full amount was paid.

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 Zerb0a

View all

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