Featured image of post WHY CTF 2025: Shoe Shop

WHY CTF 2025: Shoe Shop

A textbook IDOR โ€” incrementing a cart id straight into the admin's basket and the flag sitting inside it.

๐Ÿ“ Description

We just launched a brand-new shoe store to sell some fancy kicks. Unfortunately, the admin beat us to it and already snagged the exclusive pair in his cart. ๐Ÿ‘Ÿโœจ But heyโ€”feel free to explore the shop, try out the cart, and see what you can uncover.


๐Ÿ’ก Solution Walkthrough

Weโ€™re dealing with an online shoe store where you can:

  • Sign up for an account

  • Add items to your cart

  • View your cart contents

Pretty normal e-commerce flow, right? Orโ€ฆ is it? ๐Ÿ‘€

Image1


๐Ÿ”“ The IDOR Moment

While browsing the cart, something caught my eyeโ€ฆ The URL looked like this:

page=cart&id=694

That id parameter smells suspicious. What if we tweak it? ๐Ÿค”

So letโ€™s try checking id #1 cart:

https://shoe-shop-1.ctf.zone/index.php?page=cart&id=1

Bingo! ๐ŸŽฏ We just accessed another userโ€™s cart. And guess who that is? Yepโ€”the admin.


๐Ÿ Flag

And there it is: flag{00f34f9c417fcaa72b16f79d02d33099}


โšกLesson learned: Always validate user access before showing sensitive data.๐Ÿšจ

Writeups are published after the CTF ends.
Built with Hugo
Theme Stack designed by Jimmy