Repository Security

Description

Author: Mani

Supply chain attacksarrow-up-right? Code leaksarrow-up-right? Never heard of those.

Here at Example.com, we store our entire production environment on GitHub! Our code monkeys are so talented that they would never do anything stupid that would get accounts compromised or anything like that.

web2.ziparrow-up-right

Analysis

   5   │ my_users = {
   6"chuck":  {"password": "norris",  "roles": ["admin"]},
   7"lee":    {"password": "douglas", "roles": []},
   8"mary":   {"password": "jane",    "roles": []},
   9"steven": {"password": "wilson",  "roles": ["admin"]},
  10}

Looks like leaked source code contains users database.

Solution

  1. Open Instance

  2. Use one of the admin's credentials

  3. Visit Secret page for flag

Last updated