Module 2 · Finding, Validating and Reporting Flaws · Lesson 7 of 9

Guided project: assess a local training web app

Run OWASP Juice Shop on loopback, define scope, reproduce an access-control flaw, and write the finding.

In this lesson · about 45 minutes

  • Run a deliberately vulnerable app safely on your own machine
  • Reproduce an access-control flaw with minimal evidence
  • Produce a complete, redacted finding and clean up

Setup: Docker, OWASP Juice Shop (a deliberately insecure shop built for training), and browser developer tools or Burp Suite Community.

The six steps

  1. Start it on loopback only: docker run --rm -p 127.0.0.1:3000:3000 bkimminich/juice-shop. The 127.0.0.1: part keeps it off your shared network. A vulnerable app must never face other people's devices.
  2. Define scope: the local app plus two dummy identities you create. Record allowed actions and a stop condition. Snapshot or reset the lab before testing.
  3. Capture login and one authenticated request. Note how the session works (a bearer token here). Keep tokens out of public notes. Pick an access-control training challenge.
  4. Compare owner, other-user and anonymous access for the chosen action. Reproduce the flaw with minimal evidence; record the response and the expected boundary.
  5. Propose the fix: a server-side ownership or permission check, and a regression matrix. If you build a corrected toy endpoint, run the matrix; otherwise label it clearly as a retest plan.
  6. Report and clean up: write the finding, remove secrets from evidence, stop the container, and verify the port is closed.

Hands-on lab (simulated terminal)

Project lab: start, scope and clean up

Steps 1 and 6 on your own Kali VM. (Steps 3 to 5 are the access-control lab you already did in this module.)

Step 1 of 6. Type each command and press Enter. Nothing runs on your computer.

kali@kali: ~

1. Start Juice Shop bound to loopback only, removed when stopped, in the background (-d).

┌──(kali㉿kali)-[~]
└─$

Noviq Academy is free and for learning. Only test systems you own or have explicit written permission to test; unauthorised testing is illegal. Every lab here is simulated or runs locally on your own machine. OWASP, Juice Shop, Burp Suite and Nmap belong to their owners; this course is independent of them.