EmojiBrowser was a path traversal challenge themed after emoji, because everyone totally loved the emoji challenges from last year.
When on the home Web page, the player should notice that the image preview calls an external endpoint,
GET /emoji/:emoji_codepoint. On trying an invalid URL on this endpoint, you will be shown a “default” emoji,
index.svg in the given directory. This can be found in the file name when trying to download the emoji.
If a player tries to use a URL-encoded path traversal, they will notice that they get a normal 404 page; it renders a normal 404 page that is not related to the
/emoji/* endpoint(s). However, if they double-URL-encode, they can begin to traverse paths, with an
index.svg image to help them traverse the project directory. They can eventually find the flag file at the project’s root directory:
From here, the player needs to somehow bypass the
.svg extension mandate.