๐ 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? ๐

๐ 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.๐จ
