HTB - Blocky

Getting Root:
Found a file under
/pluginswhich contained credentials tophpMyAdminFound a user named
notchfrom the WordPress Scan and was able to ssh to the box using the password found on the file from step 1The user had
ALL ALLon the sudoers file and we were able to get root.
Tools Used:
wpscan, dirsearch.py, jar, javap
Nmap
Enumeration
WPScan
Found a user named: notch
Dirsearch.py
There were two files under http://10.10.10.37/plugins and decided to have a look.

Downloaded the two files checked for anything interesting:
Credentials:
root:8YsqfCTnvxAUeduzjNSXe22
root:8YsqfCTnvxAUeduzjNSXe22Exploitation
Using those credentials, we can login to phpMyAdmin

However using that password with the user notch (we found it from the WPScan), we can successfully ssh to the box and get the user flag.
Privilege Escalation
Last updated