Bugcrowd · Business Logic · $3,500
The checkout that forgot to charge
No payload, no exploit — just a flow that trusted the client.
Background
Business-logic vulnerabilities are the bugs scanners can't see. Nothing is malformed, nothing overflows, no input is "evil" — every individual request is legal. The failure is in the sequence: the application assumes steps happen in order, exactly once, with the values it issued — and an attacker simply declines to follow the script.
E-commerce is the natural home of this class, because money flows through a state machine: cart → payment authorised → payment captured → order confirmed → fulfilled. If any arrow in that chain is enforced by the browser instead of the server, the chain breaks.
The vulnerability
Dell's checkout flow allowed the order to reach its confirmed state without the payment step completing successfully. The server accepted the client's word that the flow had progressed — the confirmation logic did not independently verify, at order-creation time, that a matching successful payment existed for that cart and amount.
How I found it
- Map the state machine. Place a legitimate order and record every request, token and state change from cart to confirmation.
- Attack the transitions. Skip steps, replay steps, complete steps out of order, and let payments fail on purpose while continuing the flow. The question is always: does the server check, or does it assume?
- Change one variable at a time. Amount, currency, cart contents and payment state — each manipulated independently so the report can name the exact missing verification.
- Stop at proof. One confirmed unpaid order on a test purchase demonstrates the class. The order details and full request chain went to Dell through Bugcrowd.
Impact
Direct financial loss: products ordered without payment. Unlike data bugs, business-logic flaws in checkout convert to money at a 1:1 rate and scale with automation — which is why this class commands serious bounties when demonstrated cleanly.
Remediation
- Order creation must verify, server-side and at that moment, a captured payment matching the order total and currency.
- Model checkout as an explicit state machine with signed, single-use transition tokens.
- Alert on confirmed orders lacking a matching payment record — detection for the orders already placed.
Lessons
Draw the state machine of any flow that moves money, then attack the arrows, not the boxes. The boxes have input validation; the arrows have assumptions.
Found something similar?
I help teams verify and fix issues like this — and I retest my own reports for free. Reach me at sr558079@gmail.com or read more writeups.