-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107 from julianhal/shop5
Add fessemisk shop 5
- Loading branch information
Showing
5 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Shop 5 | ||
|
||
## Description | ||
|
||
It appears that PHP was not the solution after all, so we switched to the much more modern and secure Python language. Fortunatly, using modern frameworks also guarantees that our application is fully secure! | ||
|
||
If you should manage, somehow to buy the new exclusive EPT fidget toy merchandise, you can claim 5 physical instances at the admin booth after you have bought the toy in the shop and submitted the flag on the platform! | ||
|
||
Challenge link: | ||
https://fessemisk-e214-shop-5.ept.gg | ||
|
||
## Solution | ||
|
||
After experimenting with the site, I discovered that I could sell other users orders by modifying the `order_id`. Observing that `order_id` was set to `1` for the first user and `2` for the second, I changed my sell payload to `order_ids=2&order_ids=1`, allowing me to sell orders from both users into one account: | ||
|
||
![](images/2024-11-10-21-47-32.png) | ||
|
||
This worked and doubled my balance. | ||
![](images/2024-11-10-21-50-18.png) | ||
|
||
Next, I tried purchasing two "Fun toys" with my 200 balance, but only one toy was removed from my inventory when I sold them both. This allowed me to continually buy and sell toys, doubling my balance each time. Repeating this process enough times gave me enough funds to purchase the EPT fidget toy. | ||
|
||
![](images/2024-11-10-21-55-56.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.