// -
- HTB - CraftCraft is a medium difficulty Linux box, hosting a Gogs server with a public repository. One of the issues in the repository talks about a broken feature, which calls the eval function on user input. This is exploited to gain a shell on a container, which can query the database containing a user credential. After logging in, the user is found to be using Vault to manage the SSH server, and the secret for which is in their Gogs account. This secret is used to create an OTP which can be used to SSH in as root.
- HTB - CCTVCCTV is a medium difficulty Linux machine from Hack The Box. Nmap Scan As usual, we start with an nmap scan. 1nmap -sT -sV -sC -oA nmap/cctv 10.129.3.52 Port 80 is open. The webpage itself is relatively static. Following the staff login link we land on a ZoneMinder instance. ⚠ Machine Still Active This machine is currently active on Hack The Box. The full writeup will be published once it retires.
- HTB - InterpreterInterpreter is a medium difficulty Linux machine from Hack The Box. Nmap Scan As usual, we start with an nmap scan. Port 22 is open running OpenSSH on Debian, and ports 80 and 443 are also up. 1PORT STATE SERVICE VERSION 222/tcp open ssh OpenSSH 9.2p1 Debian 2+deb12u7 (protocol 2.0) First thing I check is whether HTTP and HTTPS return the same content, and they do.