Skip to the task
HACKORYWEB SECURITY ACADEMY

Maple BakeryDifficulty · Easy

An order at Maple Bakery

Maple Bakery is a bakery with an online shop: it posts today’s bakes and, with a customer account, you can order bread and cakes to collect at the counter. You log in as Sol, a test customer; her password is in the attempt’s case file.

The case file is the challenge’s page, with the brief and your progress. Open it from the site with “Back to the case file”.

Skip to the task
Today’s bakes
  • Sourdough loaf$7
  • Baguette$3
  • Butter croissant$2
  • Maple pecan scone$3
  • Cinnamon roll$3
  • Carrot cake$24

Your task

First place an order as Sol and notice what a customer can see. Your goal in the CTF is to show that a customer can see something the bakery does not show its customers. Once the server confirms it, the case file shows “Finding verified”.

What is a CTF and how do I know I’ve solved it?

CTF stands for Capture the Flag. It is a case you investigate on your own, without hints. First you use the site like any customer to learn how it normally works. To see and repeat the site’s requests, you use Hackory’s HTTP Inspector: on a phone it is the only way, because phones have no developer tools. A security finding is proof that a test account can see, change or trigger something the application should not allow. Once the server verifies that proof in your attempt, the case file shows “Finding verified”.

How to investigate with the Inspector
  1. Browse today’s bakes

    Look at today’s products, their price and how many are left. Pick one and write down its name.

  2. Order for pickup

    Log in as Sol, order that product and choose a pickup window. My orders keeps the receipt with its number: note which details are yours.

  3. Read the page as the browser receives it

    Return to the case file. In the Workbench, “Storefront page” returns the HTML the server sends to the browser. Open it in the Inspector too and compare it with what you see on display.

The attempt you had open was reset. Enter from this page to see the current attempt.

Enter the bakery

Sign in to save your attempt. Create an account

How to investigate with the Inspector

Hackory’s HTTP Inspector shows and repeats the requests that reach your attempt. It works on a computer and on a phone, where there are no developer tools.

  1. Open the Inspector

    In the case file, select “Open the HTTP Inspector”. It opens with your attempt already chosen.

  2. Choose a request

    Use the site as a customer and pick an action you want to study. Under “Workbench”, in the case file, each operation shows its method and its path: copy those two details into the Inspector.

  3. Save it as the control

    Send it with “Run control” and keep it with “Save control” (some attempts use a single button). That ordinary response is your point of comparison.

  4. Change one detail

    In the variant, change just one thing: a number, a word or the account making the request. If you change several at once, you will not know which one caused the difference.

  5. Compare the response

    Use “Run variant” and read the comparison: the HTTP status, the data that appears or disappears, and the messages.

  6. Record the evidence

    In “My note for attempt”, write what you changed, how the site replied and why it matters. If the server verifies the finding, the case file credits it automatically.

This practice environment has no Internet access. To record that a script ran in another account’s view, call __hackoryObserve(value); the environment logs that call.

Share this brief