Lab 4 - Single-endpoint race conditions
In this lab we are tasked with exploiting race condition to gain access to carlos@ginandjuice.shop email and accept the invitiation to become the admin user and delete the user account carlos.
Date: 4 September 2026
Table of Content
Section titled “Table of Content”Initial Recon
Section titled “Initial Recon”First let’s login with the given creds :
wiener:peter
We also have an access to the email client as we can see -

Let’s try to change the email to carlos@ginandjuice.shop normally

Here we can see it is sending an confirmation mail to the mail id carlos@ginandjuice.shop normally so what we have to do is somehow manage to get the confirmation link to out mail id for the carlos@ginandjuice.shop normally.
To get more better view of the email let’s try again with our own email - wiener@exploit-0a55002f03f1e6c480a42f0d01dd0026.exploit-server.net


This is the email we received from the application.
After getting the basic mind map we can move to exploitation.
Exploitation
Section titled “Exploitation”Intercept the email chage request for both carlos and wiener in burpsuite and send it to repeater and for warmup request send the request to homepage too.

Group all three request and send choose to send the request as in parallel from drop down near send button.
Send the reqquest and check the email client :

We have recieved the reequest to change the email to carlos. If it does not work in first go try multiple times.

Our email has been succesfully changed now we can complete the task by deleting the user carlos from admin panel.

Wonderful! We have solved the lab successfully.
Why it worked
Section titled “Why it worked”We are sending two request in parallel
Request 1 |/my-account/change-email | -> email to change : wiener@exploit-0a55002f03f1e6c480a42f0d01dd0026.exploit-server.net | -> Request 2 | | | /my-account/change-email | email to change:carlos@ginandjuice.shop |send confirmation mail to mailspecified in the body : wiener@exploit-0a55002f03f1e6c480a42f0d01dd0026.exploit-server.netConclusion
Section titled “Conclusion”The lab was successfully exploited by abusing a race condition in the email-change functionality. By sending two email-change requests in parallel, we were able to manipulate the application’s timing so that the confirmation email for carlos@ginandjuice.shop was sent to our controlled email address. We then used the confirmation link to change the account email and gain access to the admin panel, allowing us to delete the carlos user account.