HackTheBox - Arctic

Nmap scan results

Remote Procedure Call (RPC) is a protocol that one program can use to request a service from a program located in another computer on a network without having to understand the network's details. RPC is used to call other processes on the remote systems like a local system.
Identifying ColdFusion running on port 8500

The webserver is running ColdFusion 8 and we can check for known vulnerabilities using searchsploit.

Exploiting ColdFusion's Arbitrary File Upload
We can try Arbitrary File Upload module, as we are not interested in exploiting Cross Site Scripting.
References: https://onecompiler.com/python/3vurkz7hh
Let's upload a cmd.jsp file. You can get the cmd.jsp file from here.

The webserver is taking a lot of time to process a single request. So it might take some time for uploading the payload.
After the webshell gets uploaded, we can try a simple command to test it out.

Generating JSP Reverse Shell using MSFVenom
Now I will upload a reverse shell instead of running commands on the webshell, as it takes a hell lot of time.

Last updated
Was this helpful?