pentesting, updated
Test integrity checks
Check whether tamper-evident fields (signatures, checksums, hidden totals) are actually verified server-side.
Goal
Confirm any value meant to prove integrity (a signed total, a checksum, a hash) is recomputed and checked, not just present.
How to test
Modify a protected value and its paired integrity field inconsistently (change the value, leave the old checksum/signature) and see if the server still accepts it:
curl -s https://example.com/api/order -d '{"total":1,"total_hash":"<stale-hash>"}'
What to look for
The server accepting a value whose integrity field no longer matches — proof the check is cosmetic.
References
- OWASP WSTG-BUSL-03 — Test Integrity Checks.