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

Your token, their account

Hard Auth 6 Aug 2026 Solved by 4

Scenario

Corrywell is a utilities self-service portal. You have an ordinary customer account under [email protected], and you have just used the forgotten-password form on it, so the token below arrived in your own inbox a minute ago.

The company’s contact page lists its finance manager: [email protected].

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:
Content-Type:
token=&email=&password=
No change — send it as it stands
Response

  • 01 What the server believed

    “A valid reset token means this request may reset the account it names.”

  • 02 The fix

    Take the account from the token, never from the request: look the token up, read the user it was issued for, and ignore any address in the body. Store it hashed with an expiry and a single use, and if an email must be accepted, treat a mismatch with the token’s own account as an attack rather than as a correction.

  • 03 Where else to look for this

    Any flow where a secret and a subject travel separately: password reset, email-change confirmation, invitation acceptance, unsubscribe links, magic sign-in, second-factor enrolment, signed webhooks that name their own tenant. The tell is a lookup by the identifier in the request and a validation of the token beside it, with nothing comparing the two.

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