Skip to content
ShankarStack
BeginnerIndividualWeb Security100 pts

IDOR / Broken Object-Level Authorization

Explore object-level access control on a sandbox app and capture evidence of broken authorization.

This is an isolated, sandboxed environment created only for you. Techniques here apply only to systems you own or are authorised to test.

Scenario

The sandbox app references objects (records, files, profiles) by identifier. One or more endpoints return or modify those objects without confirming the caller owns them — a textbook IDOR.

Objective

Demonstrate access to an object belonging to another user, then recommend the authorization check that fixes it.

Your approach

  1. Create and view your own objects, noting how they're referenced.
  2. As your low-privilege user, attempt to access objects you shouldn't own.
  3. Confirm whether the server enforces ownership or trusts the identifier from the client.
  4. Record the request/response proving unauthorized access.
  5. Specify the per-request ownership check that prevents it.

Rules of engagement

Run this lab only in the isolated environment provided — the downloadable bundle runs on your own machine in a private Docker network. Only interact with the lab's target, keep testing non-destructive, and never use these techniques on systems you don't own or aren't authorised to test. When you've met the objective, submit the flag (format SS{...}) to score.

Remediation focus

Enforce object-level authorization server-side on every request, deriving the acting user from the session and verifying ownership rather than trusting a client-supplied identifier.

Deliverable

Write up what you did, what you observed, the business impact, and a clear remediation — exactly as you would in a professional report.

Hints

Hint 1

Re-read the matching knowledge-base entry before you start.

Hint 2

Capture reproducible evidence as you go — you'll need it for the write-up.

Hint 3

For every finding, identify the single control that would prevent it.

Study the theory

Read the Insecure Direct Object Reference (IDOR) knowledge-base entry

→