Skip to content
Business logic Write-up Intermediate

#BugBounty — Adding Money Using Response Modification

The trading platform trusted the payment gateway's response without verifying it, so an attacker could replace a failed payment response with a successful one and have money credited to their wallet. This allowed adding funds without actually paying.

Line_no 6 Follow

Published on medium.com

One thing i have learnt with the hacking community is sharing is caring. If you have some nice findings you should definitely share it, so here i am with a blog after a very long time.

Line_no 6, 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

Impact

An attacker could add money to their wallet without paying, potentially leading to financial loss for the platform.

What the attacker needed

A trading platform account; ability to intercept HTTP traffic (e.g., Burp Suite); a previously successful payment response

The fix

The issue was fixed by the company, likely by implementing server-side verification of payment responses.

How it was found

  1. Turn on Burp intercept.
  2. Start adding money to the wallet but deliberately fail the payment.
  3. Intercept the response from the payment gateway to the trading platform.
  4. Replace the failed response with a previously captured successful response, changing the timestamp and transaction ID.
  5. Observe that the wallet is credited successfully.

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 pay on a website, the payment provider sends a message back saying whether the payment worked. This site believed that message without checking it properly. By intercepting and editing that message, the person could make a failed payment look successful and get free money in their wallet.

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.

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.