The Holiday Hack Trail was a fun little spin on the classic game we all failed miserably at as kids: The Oregon Trail. It was a fun challenge designed to highlight the dangers of HTTP Parameter Pollution.
Accessing the Challenge
I discovered this challenge after solving Frosty Keypad and making my way into the Dorm. I found the challenge in the eastern hallway. Once clicked, you're presented with an Oregon Trail-styled console screen asking if you want to play in easy, medium, or hard modes.
HTTP Parameter Pollution
I chose to go the easy route. Once I selected "easy", I immediately noticed the URL at the top of the screen with a bunch of parameters and values.
The URL string showed the following parameter values:
After some testing, I found that the game would require you to cover a distance of 8000 by 25 Dec.
I modified the following parameters in the URL:
Once modified, I clicked the > button to follow the URL path.
Now that I had no distance remaining on 24 Dec, all I had to do was click Go and I won the game and the challenge.
This was another fun challenge that showed why it's important to provide validation in web applications to prevent HTTP parameter pollution or other forms of cross-site scripting.