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.
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
- Initiate a payment through the payment app.
- The app sends the payment request to the bank.
- The bank's servers are down and it silently debits the money without informing the app.
- The success message from the bank back to the app is lost.
- 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.