Skip to content
Business logic Write-up Intermediate

How a Failed Payment on a Train Platform Earned Me $400

A payment app showed a failed transaction while the bank debited the user's account, because the success message from the bank was lost. An attacker could exploit this to cause users to lose money without receiving the intended payment.

infosecwriteups.com

Published on infosecwriteups.com

This isn’t another bug bounty story meant to make your eyes sparkle with massive payouts. This is the story of how a normal, boring evening, a forgotten bill and a glitchy app launched my bug bounty journey.

Hackergod00001, 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 a transaction integrity flaw where the payment app and bank do not properly confirm the final status of a transaction, so a lost success message leads to inconsistent states.

Impact

Users could lose money without completing the intended payment, potentially facing late fees or other financial harm.

What the attacker needed

Use the payment app; bank server down; initiate a payment

The fix

The systems should be fixed to properly confirm transaction status and handle failures without silently debiting users.

How it was found

  1. Initiate a payment through the payment app.
  2. The app sends the payment request to the bank.
  3. The bank's servers are down and it silently debits the money without informing the app.
  4. The success message from the bank back to the app is lost.
  5. The app shows a failure message, but the money is already gone.

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 through an app, the app asks your bank to move money. If the bank's confirmation gets lost, the app thinks the payment failed, but your money may still be taken. This is a problem because you could pay twice or lose money without getting what you paid for.

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.