pentesting, updated
Test business logic data validation
Check whether the app validates that input makes real-world sense, not just that it's syntactically well-formed.
Goal
Confirm the app rejects values that are syntactically valid but logically nonsensical for the business process.
How to test
Submit syntactically valid but logically absurd values and see what the app accepts:
curl -s https://example.com/api/order -d '{"quantity": -5, "price": 0}'
curl -s https://example.com/api/signup -d '{"age": 999, "birthdate": "2099-01-01"}'
What to look for
Negative quantities processed as valid, prices of zero accepted, dates in the future where they shouldn’t be, or any state that shouldn’t be reachable through the intended UI.
References
- OWASP WSTG-BUSL-01 — Test Business Logic Data Validation.