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

A better price at checkout

Hard Business Logic 29 Jul 2026 Solved by 3

Scenario

Pellerin sells design assets in several countries. You are buying one licence from its UK store, listed at £890.

The checkout collects the purchase details, billing country, display language, promotion code, and payment method. This is the request it sends.

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=
{
"licence": ,
"quantity": ,
"billing_country": ,
"locale": ,
"promotion_code": ,
"payment_method":
}
No change — send it as it stands
Response

  • 01 What the server believed

    “Protecting the amount is enough, even when the client controls the currency.”

  • 02 The fix

    Store amount and currency together and load both from the server-side price record. If customers may select a currency, load a server-defined price for that currency or convert the amount on the server. Reject unexpected pricing fields and test that changing currency cannot keep the same amount.

  • 03 Where else to look for this

    Check checkout, refunds, payouts, top-ups, wallet credits, and regional price lists. Look for an amount loaded by the server while its currency, unit, or exchange rate comes from the request.

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