Kira CTF Vulnhub Walkthrough

Today, We are going solve another boot2root Vulnhub CTF, name Kira CTF it is an easy level Box, and It’s available at Vulnhub for improving penetration testing skills and you can download here this machine.

Network Scanning

Let’s find the target VM IP address run the netdiscover command.

Kira CTF Vulnhub Walkthrough

Now we have an IP address target machine, In my case, my target IP address is ( and our next step is scanning the target machine open port and running service using the Nmap aggressive command.

Kira CTF Vulnhub Walkthrough

Our scanning is complete and Nmap Aggressive scanning result is shown open ports target machine, we have only port 80/HTTP is open and running apache httpd server.


Since we found the target machine has open port 80, let’s explore the target machine IP in the browser and check its page response.

Kira CTF Vulnhub Walkthrough

Now we have a landing page and this page shows two-button first is upload and the second is language, let’s try to upload PHP reverse shell.

but our shell is not uploaded because there is a restriction for Uploading PHP file, again upload reverse shell with .jpg extension.

and our shell is uploaded let’s execute the payload by navigating the Uploads directory, and again we failed to execute our reverse shell,

Since we see the landing page there is another language button, After navigating the language URL we found another Vulnerability, we found LFI ( Local File Inclusion ) in the lang= parameter.

Without wasting our time we open our new terminal windows and split the windows as we can see the image file.

First We start our local net-cat listener on port 4545 and then we execute the shell with help of curl Command.

Kira CTF Vulnhub Walkthrough
Bash Shell Accessed

Now we have bash shell target machine I already import the python spawn shell if you want to import the python spawn shell Let’s execute the command.

We start enumeration www-data home directory and we move the apache public html directory and here we found a user password in the supersecret directory.

Privilege Escalation

Now we have another user bassam password’ let’s change the user run the su ( switch user command ). and we have access bassam user account we run the sudo -l command for checking sudo permission for bassam user.

Kira CTF Vulnhub Walkthrough

And we can see the sudo permission for the bassam user this user can run find command with root user permission without asking root password. let’s privilege the escalate the user let’s run the find privilege escalation command.

and finally we capture our final flag in the /root directory.

Tender Foot Vulnhub Walkthrough link