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

The office you are not in

Medium HTTP 28 Jul 2026 Solved by 4

Scenario

Halloway Freight lets carriers connect their systems to its portal. Each carrier forwards the clerk’s IP address in X-Client-IP. Your requests include your real address.

You have valid clerk credentials. The admin console only allows requests from the Halloway office network. A support reply includes this network note: Halloway office egress: 198.51.100.0/24.

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-Client-IP:
{
"email": ,
"password":
}
No change — send it as it stands
Response

  • 01 What the server believed

    “The address in the forwarding header is where the request came from.”

  • 02 The fix

    At the trusted reverse proxy, remove any inbound forwarding header and write the verified client IP. The application should only trust that value when the direct connection came from the proxy. Enforce the admin allowlist at the network edge and test that spoofed headers are rejected.

  • 03 Where else to look for this

    Check IP allowlists, location restrictions, rate limits, fraud checks, and audit logs. Look for code that reads X-Forwarded-For, X-Real-IP, or X-Client-IP and treats it as proof of the connection address.

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