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

What the redaction missed

Medium IDOR 31 Jul 2026 Solved by 3

Scenario

Westmarch is a hiring platform. You are on the interview panel for candidate 8841, so you may view her scorecard. The PDF hides her salary expectation and the recruiter’s private notes.

The hiring committee also exports scorecards to a spreadsheet before each debrief.

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
////?format= HTTP/1.1
Host:
Accept:
Cookie: session=
No change — send it as it stands
Response

  • 01 What the server believed

    “Redacting sensitive fields in the PDF protects every version of the scorecard.”

  • 02 The fix

    Apply field-level authorization before rendering. Build one authorized scorecard object for the current user and pass it to both the PDF and CSV serializers. Keep the field policy in a shared service, restrict export endpoints by role, and add tests confirming every representation omits protected fields.

  • 03 Where else to look for this

    Check PDF and CSV exports, print views, JSON APIs, calendar feeds, admin downloads, and older API versions. Look for sensitive fields removed inside one template or serializer instead of by a shared authorization policy.

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