Hack The Box: Monitored
Description Monitored is a medium Hack The Box machine that features: LDAP and SNMP Service Enumeration Nagios XI CVE-2023-40931 SQL Injection vulnerability Nagios Remote Command Execution using an Administrator account Privilege Escalation via a vulnerable SUDO script Footprinting First, we are going to check with ping command if the machine is active and the system operating system. The target machine IP address is 10.129.242.138. $ ping -c 3 10.129.242.138 PING 10.129.242.138 (10.129.242.138) 56(84) bytes of data. 64 bytes from 10.129.242.138: icmp_seq=1 ttl=63 time=46.4 ms 64 bytes from 10.129.242.138: icmp_seq=2 ttl=63 time=45.5 ms 64 bytes from 10.129.242.138: icmp_seq=3 ttl=63 time=45.1 ms --- 10.129.242.138 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 45.104/45.662/46.399/0.543 ms The machine is active and with the TTL that equals 63 (64 minus 1 jump) we can assure that it is an Unix machine. Now we are going to do a Nmap TCP SYN port scan to check all opened ports. ...