pentesting, updated
Test ability to forge requests
Check whether a client can submit a request a legitimate client never would — skipping steps, setting server-controlled fields directly.
Goal
Confirm the server treats the client as untrusted and doesn’t rely on the official UI to enforce ordering or field ownership.
How to test
Replay a captured request with fields the UI normally computes (price, discount, server-assigned IDs) overridden directly:
curl -s https://example.com/api/checkout -d '{"item":1,"price":0.01}'
What to look for
A server-computed value (price, total, status) accepted directly from the client instead of being recalculated server-side.
References
- OWASP WSTG-BUSL-02 — Test Ability to Forge Requests.