The Leaked List Writeup

By
Manieendar Mohan
Published on
20 Sep 2020
1 min read
DOMECTF2020

Story

Red Racks, a hacker group, has released a web application that helps in checking whether a website is hacked by them or not. Are you smart enough to hack the hackers?

Solution

The application gives two input forms, one for project name and one for URL.

leaked-list 1

Anything given other than the exact payload will result in server error. If we inspect the elements we can see a string.

leaked-list 2

This gives a hint that the application is using redis and also the redis password is hard coded there.

The challenge is a plain SSRF so we need to craft the URL with redis commands using gopher protocol.

The payload is:

        gopher://redis:6379/AAUTH%20YreInIpkyDge1wYNlDYB1vbnTIGYAe%0a%0dKEYS%20*%20%0a%0dGET%20FLAG%0a%0dQUIT
    
leaked-list 3

Written by
Manieendar Mohan
Manieendar Mohan
Cyber Security Lead Engineer
Experience the Beagle Security platform
Unlock one full penetration test and all Advanced plan features free for 10 days