<- HTB

BroScience


19 minutes to read

BroScience
Hack The Box. Linux. Medium machine. This machine has a website with a Local File Read vulnerability that can be used to read PHP source code and find a way to activate a new account. Then, we can perform a deserialization attack in PHP to get RCE. After that, we find a hashed password in the database that can be cracked and it is reused in the system. Finally, there’s a Cron task running by root to renew OpenSSL certificates and the script has a command injection vulnerability, which leads to the privilege escalation