Pwned
Pwned is a organization hacked by an attacker. Find the vulnarablity in attacker way.
Last updated
Was this helpful?
Pwned is a organization hacked by an attacker. Find the vulnarablity in attacker way.
Last updated
Was this helpful?
nmap scan results:
ftp anonymous login isn't allowed. So lets go to port 80.
hmm okay. I ran dirb to see what directories we get.
robots.txt shows /nothing directory and that leads us to...well nothing.
Wouldn't hurt to run gobuster with a bigger wordlist.
I went to /hidden_text and found "secret.dic".
My thoughts are to run this list with gobuster and see what comes back.
This shows that pwned.vuln is an active link so lets go to it.
Interesting. Lets have a look at the source.
Now we have credentials and can login via ssh.
We have a share directory with note.txt and id_rsa.
Lets grab that id_rsa and ssh with ariana.
sudo -l shows that selena can run /home/messenger.sh without a password.
Looking at the code it looks like whatever message we send gets executed. So maybe we can get a reverse shell as root.
We can! So maybe we can do the same but with root?
Nope not that easy. if we run id selena is in the docker group. Lets see what gtfo has on docker.
Bingo!! That was fun.