Lion Cipher Lab

Confirm broken object access in Juice Shop and rule out the false positives

Why it matters

Broken object-level authorization is first on the OWASP API Security Top 10 because it is common, easy to find and often serious. It is also the finding most often reported wrongly: a 200 response is not proof, because the server may ignore the id, return your own data, or serve something public. A confirmed finding needs a control, a comparison and a note on what you ruled out. This lab shows that method on Juice Shop's basket route, reads the code that explains the weakness, and ends with the fix and what the defender would see.

What you'll learn

Steps in this lab

  1. The rule: your accounts, your objects, one request each
  2. Read the code before you test
  3. Capture four responses
  4. Let a script do the comparison
  5. Read the four verdicts
  6. Other ways to be wrong
  7. Rate it and log it
  8. The defender's view: what the logs show, and what they should
  9. The fix, and how you will know it worked
  10. What this method does not cover

Open the full interactive lab →

Keep learning