/2016-Web-200

Web 200 challenge from the September 2016 MITRE CTF

Primary LanguageRubyApache License 2.0Apache-2.0

API Access Violation is a challenge where competitors have to connect to a server and get an API key which gives them higher level access in order to find the flag.

Competitors will connect to the sinatra server and navigate the pages to find the flag (MCA-618584AA) most pages require an API key to function correctly. Any 8 character sequence that begins DAPI or MAPI will work. You can also connect to /api/key-request/mobile or /api/key-request/desktop to generate a key. A list of methods can be found at /help

Running the Challenge

In order to stand up the challenge run docker-compose up. The challenge will then be accessible on port 80.

Solution

  1. Go to localhost and view the mobile access key (change the mobile in the url to desktop if you use desktop).
  2. Change the url localhost/help for more information on the necessary urls.
  3. Connect to /getPicture/DAPI1234/Flag.png and view the source code.