Nibbles
Personal Rating: Very Easy
Last updated
Personal Rating: Very Easy
Last updated
The first nmap scan reveals a webserver.
sudo nmap -sC <IP>
Checking it out, I found a login page at http://<TARGETIP>/nibbleblog/admin.php
Working credentials were admin:nibbles
. On that page I could directly upload a PHP reverse shell and activate it easily.
On the machine, I found the file /home/nibbles/personal/stuff/monitor.sh
, which can be executed with root as SUID file. I replaced the script inside with /bin/bash and had a root shell.
The root ssh key: