CozyHosting

Details:

  • OS: Linux
  • RELEASE DATE: 02 Sep 2023
  • DIFFICULTY: Easy

Enumeration:

export host variables
export RHOST=10.129.229.88
export LHOST=10.10.14.113
nmap target scan
> nmap -sS -sV -sC -p- -oN CozyHosting $RHOST
...
Starting Nmap 7.93 ( https://nmap.org ) at 2024-06-08 18:33 BST
Nmap scan report for 10.129.229.88
Host is up (0.024s latency).
Not shown: 65533 closed tcp ports (reset)
PORT   STATE SERVICE VERSION
22/tcp open  ssh     OpenSSH 8.9p1 Ubuntu 3ubuntu0.3 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey: 
|   256 4356bca7f2ec46ddc10f83304c2caaa8 (ECDSA)
|_  256 6f7a6c3fa68de27595d47b71ac4f7e42 (ED25519)
80/tcp open  http    nginx 1.18.0 (Ubuntu)
|_http-title: Did not follow redirect to http://cozyhosting.htb
|_http-server-header: nginx/1.18.0 (Ubuntu)
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel

Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 49.66 seconds

Exploitation:

shell
>

Conclusion: