Skip to content

MediumScenarioAppSec and OWASP scenarios

A pen test finds that changing /api/orders/123 to /124 shows another user's order. What is it and how do you fix it?

What a good answer covers

Broken object level authorisation (IDOR). Enforce ownership checks server-side on every object access using the authenticated identity, use central authorisation middleware, add tests, and do not rely on unguessable IDs.

More on AppSec and OWASP scenarios

Flashcards for this topic