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

The code you were not sent

Easy Auth 26 Jul 2026 Solved by 8

Scenario

Cadence is a delivery-driver app. Registration takes a phone number, sends a six-digit code by SMS, and will not create the account until the code comes back.

You are registering with a number you do not control: +44 7700 900118. The code went to somebody else’s handset, so you do not have it and cannot get it.

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:
X-Registration:
{
"phone": ,
"code":
}
No change — send it as it stands
Response

  • 01 What the server believed

    “The code field is always present, because our app always sends it.”

  • 02 The fix

    Treat an absent code as a failed verification rather than as nothing to check. Validate the shape of the body before branching on its contents, and make the success path something you have to reach deliberately rather than fall into.

  • 03 Where else to look for this

    Any check written as “if the field is here, compare it”: signature and HMAC verification, second-factor steps, CAPTCHA tokens, webhook validation. The tell is a guard nested inside a presence test, with no else.

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