Funbox3¶
192.168.1.147
Port Scan¶
22/tcp open ssh syn-ack ttl 64 OpenSSH 8.2p1 Ubuntu 4ubuntu0.1 (Ubuntu Linux; protocol 2.0)
80/tcp open http syn-ack ttl 64 Apache httpd 2.4.41 ((Ubuntu))
33060/tcp open socks5 syn-ack ttl 64
Port 80: Apache webserver¶
default apache page is displayed at the root
robots.txt was disallowing /gym
/Gym¶
using LAMP not WAMP
CRM at /admin/¶
another CRM at /index.php¶
This one has username disclosure on the forgot password dialogue
There's also the option to register for this one
Bookstore at /store/¶
If this is projectworlds online bookstore 1.0, we could use EDB-47887
Another login page
/secret/¶
Foothold¶
I was able to get RCE as www-data
with EDB-47887
The shell was sort of shitty tho, so I replaced the payload with some php from /usr/share/webshells/php/php-reverse-shell.php
Then I had a fully interactive shell which allowed me to cd and such.
found passwords.txt
ssh: yxcvbnmYYY
gym/admin: asdfghjklXXX
/store: admin@admin.com admin
I was able to log in as tony
using the password he left me in his plaintext creds file.
Tony has some interesting sudoers entries