First Steps:

Once you have started the CTF machine, launch a root shell in Kali and do the following:

Start with an Nmap:

nmap -sC -sV IP_ADDRESS_OF_TARGET_VM

Untitled

The webpage running on this machine (pictured below) is vulnerable to an SSRF (Server-Side Request Forgery) attack. Often, web servers require access to resources on internal IP addresses like the localhost address of 127.0.0.1 which shouldn't be exposed publicly.

A common example would be a MySQL database. While the web server should have the capability to query the database, it's crucial to prevent unauthorized individuals online from trying to directly access the database storing the website's data via the machine’s public IP Address.

Untitled

Identify the IP Address of your Kali Linux machine first and start a Netcat listener on port 5555.

hostname -I
nc -lvnp 5555

Untitled

Now fill out the web form (example below) and click ‘submit.’