juice-shop: Offer Expired Challenge: Based on Clock
The flow of the challenge is like this:
Name: Clock Manipulation Challenge
Description: Order products on offer that expired in 2017
Tasks to be done: It would need the user to manipulate the clock of their machine
Flow: User goes to twitter and finds out a tweet about the offer which gives them the /#/offer/<festive> route, but when they try to access it they are shown the offer has expired but when they manipulate the clock it works out for them. They are able to order few products for free on this route.
Bug: After the offer was expired, the route was never removed.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16 (15 by maintainers)
Yeah, that’s totally okay. We have like 4+ file access challenges. The important thing is to give each one a slightly different twist so they don’t solve both a the same time. The campaign discount challege @agrawalarpit14 wrote with my review comments applied would make it possible to solve it via clock manipulation or code analysis/request tampering. The deal of the day could totally have one of both attack paths similar but should add a second one that is slightly different.
@agrawalarpit14, you can implement the same in a flash sale sort of thing too.