Skip to content
Business logic Write-up Beginner

Bug Bounty Response Manipulation Leading To Payment Bypass

The server response containing the payment amount could be modified by the client before being sent to the payment gateway, allowing an attacker to set the amount to zero and bypass payment. This enabled purchasing items for free.

Krishnadev P Melevila Follow

Published on infosecwriteups.com

It’s me Krishnadev P Melevila, After my first account takeover blog, I am back with a new Response manipulation bug.

Krishnadev P Melevila, on infosecwriteups.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 payment amount was taken from a client-side response without server-side validation, allowing tampering.

Impact

An attacker could buy all items for free, causing financial loss to the company.

What the attacker needed

Ability to intercept HTTP responses

How it was found

  1. Choose any package and click on buy now.
  2. Intercept the response from the server.
  3. Change the amount_to_pay parameter value to 0 in the response.
  4. Forward the request to the browser.

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, your browser sends a request to the website's server, which replies with details like the price. Normally you can't change that reply, but here the reply could be altered before it reached the payment system. By changing the price to zero, the attacker could get items without paying.

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 Krishnadev P Melevila

View all

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