Parameter tampering
Also called: Request tampering
Changing values in a request, such as a price, an ID or a hidden field, before it reaches the server.
Definition
Anything sent by the browser or the app can be changed with a proxy tool or DevTools, including hidden fields and values from disabled inputs. The server must calculate prices itself and accept only the fields and values it expects.
In practice
Changing "unit_price": 79.0 to 1 in an intercepted checkout request, and the order is charged €1.
Learn it in context
Lessons that use this term.
Related terms
- Proxy toolA program that sits between the app and the server so you can watch and change network traffic.
- Mass assignmentA bug where an API saves every field from the request body, including ones the user must not change.
- Business logic flawA business rule the server doesn't enforce, abused with normal-looking requests.