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
Automated human-like penetration testing for your web apps & APIs
Teams using Beagle Security are set up in minutes, embrace release-based CI/CD security testing and save up to 65% with timely remediation of vulnerabilities. Sign up for a free account to see what it can do for you.

Written by
Manieendar Mohan
Manieendar Mohan
Cyber Security Lead Engineer
Find website security issues in a flash
Improve your website's security posture with proactive vulnerability detection.
Free website security assessment
Experience the power of automated penetration testing & contextual reporting.