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

The cursor carries the scope

Medium IDOR 6 Oct 2026 Solved by 3

Scenario

Penfold Desk is a shared inbox tool. Each customer gets a workspace, and threads belong to a workspace.

You are in workspace 204. The thread list pages with a cursor the server issues, and the front end sends it back untouched.

A support thread on Penfold's own helpdesk has a screenshot in it from a customer in another workspace, showing their browser address bar. The cursor in it reads eyJvIjo4ODF9.

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

  • 01 What the server believed

    “A token the server issued is a token the server can trust when it comes back.”

  • 02 The fix

    Take the workspace from the session on every request and use the cursor only for position. If the cursor must carry scope, sign it and verify it, or encrypt it so it is genuinely opaque, and re-check the caller against whatever it decodes to. Add a test that pages a list using a cursor issued to another tenant and expects a refusal.

  • 03 Where else to look for this

    Anywhere a value is round-tripped because it looks like the server's own: pagination cursors, continuation tokens, state parameters, encoded filter blobs, view state, resume tokens, anything base64 in a URL. Opaque is not the same as signed. The check is to decode it and see whether it contains a decision rather than a position.

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