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

The setting you were not allowed to change

Hard Business Logic 1 Aug 2026 Solved by 2

Scenario

Saltwick hosts engineering workspaces. You administer Ferrymead, a workspace owned by Northwood Group.

You can change most security settings. The two-factor toggle is greyed out and labelled managed by Northwood Group. A policy service checks each update before the workspace service saves 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:
Cookie: session=
{
"mfa_required": ,
"session_hours": ,
"ip_allowlist":
}
No change — send it as it stands
Response

  • 01 What the server believed

    “Every component that reads a JSON body will choose the same value when a key appears more than once.”

  • 02 The fix

    Parse the request body once and reject duplicate keys before running policy checks. Pass that parsed object to the workspace service instead of parsing the raw body again. Add an integration test that sends a protected field twice.

  • 03 Where else to look for this

    Check requests that pass through gateways, middleware, signature checks, or separate services. Duplicate JSON keys, headers, query parameters, and form fields can bypass a control when two components choose different values.

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