Lion Cipher Lab
Confirm broken object access in Juice Shop and rule out the false positives
- Penetration Testing / Red Team
- Intermediate
- ~55 min
- Free · no account required
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
- reading the route code first to see what a guard does and does not check
- confirming a cross-account read with two accounts you created and four captures
- ruling out the server ignoring the id, a refused request, public data and weak controls
- choosing the confidentiality value of a CVSS vector from the data at stake
- writing the fix as an ownership check and the log line that would show the abuse
Steps in this lab
- The rule: your accounts, your objects, one request each
- Read the code before you test
- Capture four responses
- Let a script do the comparison
- Read the four verdicts
- Other ways to be wrong
- Rate it and log it
- The defender's view: what the logs show, and what they should
- The fix, and how you will know it worked
- What this method does not cover
Open the full interactive lab →