Challenge:
Name: Christmas Special
Description: Order the Christmas special offer of 2014.
Difficulty: 4 star
Category: Injection
Expanded Description: https://pwning.owasp-juice.shop/part2/injection.html
Tools used:
Burp, FoxyProxy
Resources used:
Methodology:
Yet again the database dump I performed during the Database Schema challenge pays dividends. While the expanded description for this challenge makes it clear that this is intended to be a much more difficult task, being able to simply search the product table for the word “Christmas” means that it’s basically a 3 star challenge.
![[41 entries]
I id | 255 | name
2020-11-02
21
2020-11-02
21
2020-11-02
21
: 00
2020-11-02
21
2020-11-02
21
2020-11-02
21
2020-11-02
21
: 00
2020-11-02
21
2020-11-02
21
2020-11-02
21
+00: 00
2014-12-27
2020-11-02
21
2019-02-01
2020-11-02
21
2017-04-28
2020-11-02
Apple Juice (løøøml)
Orange Juice (løøøml)
Eggfruit Juice (5øøml)
Raspberry Juice (løøøml)
Lemon Juice (500ml)
Banana Juice (løøøml)
OWASP Juice Shop T-Shirt
OWASP Juice Shop CTF Girlie-shirt
OWASP SSL Advanced Forensic Tool (o-saft)
Christmas Super-surprise-Box (2014 Edition)
Rippertuer Special Juice
OWASP Juice Shop sticker (2015/2016 design)
OWASP Juice Shop Iron-ons (16pcs)
image
apple_juice. jpg
orange_juice. jpg
eggfruit_juice. jpg
raspberry_juice. jpg
lemon_juice. jpg
banana_juice. jpg
fan_shirt . jpg
fan_girlie. jpg
orange_juice. jpg
undefined. jpg
undefined . jpg
sticker. png
iron-on . jpg
price
1.99
2 .99
8.99
4.99
2.99
1.99
22 .49
22 .49
0.01
29.99
16.99
999.99
14.99
createdAt
1
3
4
5
6
8
9
10
11
12
13
255
255
255
255
255
255
255
255
255
255
255
255
255
I deletedAt
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL](https://curiositykillscolby.files.wordpress.com/2020/11/image-153.jpeg?w=1024)
Once I found the product ID number from the database, I simply used Burp Suite and FoxyProxy to solve this. I merely logged into a user account, added a random product to that user’s basket, intercepted that packet, and updated the “ProductId” field to match the product ID number of the 2014 Christmas Super Surprise Box. With that done, I sent off the packet and crossed this challenge off the list.




Prevention and Mitigation Strategies: