One Request Away No. 01 Streak 0 Solved 0 of 27

Somebody else’s invoice

Easy IDOR 25 Jul 2026 Solved by 10

Scenario

You are signed in to the Brightmoor supplier portal as Dana Whitfield, accounts payable at Brightmoor Retail. You have just opened one of your own invoices.

Yesterday the portal emailed you a payment reminder that was not meant for you. It referenced invoice INV-4468, raised against a company called Ashcroft Freight. You have never had an account with them.

One change to this request triggers the vulnerability. The challenge is to use your security intuition to work out what to change. Find the value the server shouldn’t trust, change it, and send it. The response tells you whether you were right.

Request Tap any part of it
/// HTTP/1.1
Host:
Accept:
Cookie: session=; org=
No change — send it as it stands
Response

  • 01 What the server believed

    “Anyone holding a valid session is entitled to any invoice they can name.”

  • 02 The fix

    Query by both invoice reference and the authenticated user’s server-side organisation ID, returning 404 when no record matches. Enforce the rule in a shared authorisation policy and add a cross-organisation integration test.

  • 03 Where else to look for this

    Anywhere an identifier travels in a URL and the handler’s first act is to look it up: invoice and order detail endpoints, document downloads, message threads, export jobs. The tell is a handler that fetches by id and returns, with no second query about the caller.

The series

Every drill 27

One Request Away is a daily series of challenges. They’re like code review, but for HTTP requests: in each one you’re one request away from triggering a vulnerability, and your goal is to identify what you need to change.

Do not stop here

A drill is one request.
A lab is the whole app.

Uphack labs are believable products with one realistic flaw buried in an ordinary feature. Same instinct, nothing highlighted — you get a running application and have to find it yourself.

Browse the labs
Registration is open Closes today

Turn the instinct into practice.

Drills are free and stay that way. The labs put the same reasoning against a whole application, and members get all of them. Registration is open until Saturday 19 September.

Create your account

Already a member? Sign in