Order record owned by one user is readable by another user
GET /api/orders/7731 HTTP/1.1 Host: app.staging.example Authorization: Bearer <user-A session · redacted> Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
{
"id": 7731,
"owner": "<user-B>",
"ship_to": "<redacted>",
"total": "<redacted>"
}
expected user A is denied an object owned by user B observed object owned by user B was read by user A confirmed by read-back against the owner's record note an HTTP 200 alone was not accepted as proof verdict PROVEN BY EFFECT
Enforce object-level authorization on the server for every order lookup: resolve the record through the authenticated user's ownership, not the supplied identifier alone.
Reference: OWASP WSTG-ATHZ-04 — Testing for Insecure Direct Object References.