Hintru ENES ← All labs

Cheesy Does It — Business Logic Discount Abuse (Bugforge)

EN easy CTF challenge Business LogicJSON Array InjectionCoupon AbuseParameter TamperingBurp Suite

A pizza-ordering web application on Bugforge gives registered users a single-use discount code. The flag goes to whoever can apply more discount than they should — the fix is one HTTP request away, but you'll need to think carefully about how the server interprets the input you send.

0/4
solved
👁 Step 1 Step 2 Step 3 Step 4
recon

Step 1 · Register, Log In & Identify the Discount Code

Objective: Create an account, log in to the application, and locate the discount code that is presented to you after authentication.

Context: The target is a Bugforge pizza-ordering web application. You need a valid account to proceed through the purchase flow.

Progressive hints

Only reveal the ones you need. Claude tracks how many you used to calibrate the feedback.

Hint 1 — directional nudge

After logging in, look around your account dashboard or the checkout area for any promotional information the app surfaces automatically.

Hint 2 — technique / vuln class

Applications often display coupon or discount codes on the landing page or in the user dashboard after login — check for any banner, label, or text that looks like a promo code.

Hint 3 — near solution

The discount code displayed to you after login is PIZZA-10. Note it down; you will inject it into the purchase request.

Your attempt

Official solution

Register a new account and log in. The application displays the discount code PIZZA-10 on the post-login screen. Note this code for use in the purchase flow.

Validation criteria: Student registers, authenticates, and records the coupon code PIZZA-10 from the application UI.

Recent attempts on this step

revealed 2026-04-12 10:13:38 · hints: 3
[solution revealed]

Solution revealed