Multi-Step Transaction Manipulation
What you'll learn: How attackers exploit incomplete validation in multi-step processes like checkout, registration, or approval workflows.
The Core Vulnerability
Multi-step transaction manipulation occurs when an application fails to properly validate all steps of a process are completed correctly and in sequence. Many web applications implement complex workflows—checkout flows, account registration, approval processes—that require users to move through several stages. If the application only validates individual steps but doesn't verify the complete transaction state or that all steps were properly completed, attackers can manipulate the final outcome.
How Attackers Exploit It
Think of this like a self-checkout at a grocery store. Imagine if the system only checked whether you scanned items at the scanner station, but never verified what you actually put in your bag, or if it let you modify your cart after payment was confirmed. An attacker could:
- Skip mandatory steps (like payment or identity verification)
- Submit data from an earlier step after later validation passes
- Manipulate hidden form fields containing state from previous steps
- Replay legitimate early-step data while bypassing later restrictions
- Jump directly to a final "success" page without completing required actions
For example, in a checkout flow, an attacker might complete steps 1-3 legitimately (select item, enter address, choose shipping), but manipulate the payment step by submitting a request directly to the final confirmation endpoint with tampered price data from step 1.
Why It Happens
Applications often validate each step independently but fail to maintain server-side verification that the entire workflow completes correctly. They may trust client-side state or assume users will follow the intended path.
Key Takeaway: Multi-step transactions must validate not just individual steps, but also verify the complete workflow integrity and all required steps on the server side before finalizing any transaction.