Google CTF – Web 1 – Wallowing Wallabies – Part One

Google CTF – Web 1 – Wallowing Wallabies – Part One

The first web challenge you visit a website that appears to have no links or pages.

One of the first things you look for when you have nothing else is robots.txt. This may give you some insight into the website such as other pages that exist or a framework that the website might be using.

User-agent: *
Disallow: /deep-blue-sea/
Disallow: /deep-blue-sea/team/
# Yes, these are alphabet puns :)
Disallow: /deep-blue-sea/team/characters
Disallow: /deep-blue-sea/team/paragraphs
Disallow: /deep-blue-sea/team/lines
Disallow: /deep-blue-sea/team/runes
Disallow: /deep-blue-sea/team/vendors

Now we have a bunch of different endpoints we can test. Going through them each one by one you’ll eventually realize you cannot access any of them except /deep-blue-sea/team/vendors.

It’s a small form that takes your name and a textbox asking justification for access. When you submit the form, you can see the details you entered displayed back to you. I quickly noticed that it’s vulnerable to XSS and assumed there is a bot reading our submissions based on the sentence “an admin will review your application as soon as possible.”

I used a pretty standard XSS payload to cause the browser to load an image to an endpoint with the cookies in the request vars. On my server I checked my access logs and found the following:

The bot executed the payload and gave me a new cookie “green-mountains”. e.g.


If you base64 decode the first part of this cookie, you get the following:


We know there are 3 flags on this website by looking at the Google CTF web challenge list. We also know there are 6 different endpoints in robots.txt. We can make a safe assumption that this cookie only gets us access to the /vendors/ endpoint and not the others.

Setting that cookie in my request on /vendors/, this is what we get:

Success! We have our first flag. We can also see a new link opened at the top of the navigation “Messaging”.

This most likely leads to the next CTF challenge for this website.

3 thoughts on “Google CTF – Web 1 – Wallowing Wallabies – Part One

Comments are closed.