Lab 3 - Multi-endpoint race conditions
In this challenge we are tasked with purchasing an item Lightweight L33t Leather Jacket at an unintended price by exploiting the race condition but what type of race condiiton we look at that.
Date: 4 September 2026
Table of Content
Section titled “Table of Content”Initial Recon
Section titled “Initial Recon”First we have following credentials given so let’s login with this :
wiener:peter
After logging in we can see the targeted product and one more interesting product that is the gift card.
First let’s try to buy the gift card to experiment with the application.

When we click on the Place order button following request is made :


We can see we have brough the gift card successfully making our cart value $90 now let’s buy again the gift card this time capturing the both request the add to card and place order in the burpsuite.

For warm up request we will also send the request to / to repeater

Right Click on any tab and hover over Add tab to group and click new tab group -

Create the group with all three request -

Now from the drop down near the send button choose send group in sequence single connection to test the response time.

We can see the request for the homepage got response in 512 ms but other got in /cart 191ms and /cart/checkout 203ms
So we can here clearly see that there is race without between checkout endpoint as on side of the serevr what it does is -
/cart/checkout -> Check Cart Value -> check Credit available -> place orderSo what if we send request to add an expensive item after the check credit value just after the check cart value. It will check the cart value for the cheap amount put place order for our expensive item too.
for this purpose lets add a gift card to the cart :

And then in the tabs we grouped changed the type to send the request in parallel instead of sequence.

Whoop we have solved the challenge sucessfully!!
Conclusion
Section titled “Conclusion”The application is vulnerable to a race condition caused by a TOCTOU (Time-of-Check to Time-of-Use) flaw. By sending the cart modification and checkout requests in parallel, we were able to change the cart after the price check but before the order was placed, allowing us to purchase the Lightweight L33t Leather Jacket at an unintended price.