Hack The Box: CCTV machine walkthrough โ Easy Difficulty
Just completed the CCTV machine from Hack The Box!
After enumerating the target, I discovered a ZoneMinder instance exposed on the web interface. Using the default administrative credentials, I gained access to the application and identified a SQL injection vulnerability in the removetag endpoint. By leveraging SQLMap, I extracted the database contents and recovered valid credentials through bcrypt hash cracking with Hashcat, allowing SSH access as the mark user and securing the User flag.
For privilege escalation, I discovered a locally running MotionEye service and extracted authentication details from its configuration files. After accessing the internal web interface through SSH port forwarding, I exploited a command injection vulnerability in the image filename configuration to obtain a root shell and capture the Root flag.
Really enjoyed this Easy-difficulty box โ a great combination of web application exploitation, SQL injection, credential recovery, and Linux privilege escalation techniques!
#HackTheBox #HTB #PenetrationTesting #CyberSecurity #PrivilegeEscalation #SQLInjection #EthicalHacking #Linux #OffensiveSecurity โฆ
Learn MoreHack The Box: CCTV machine walkthrough โ Easy Difficulty
The post Hack The Box: CCTV machine walkthrough โ Easy Difficulty appeared first on Threatninja.net.