FLAG2


FLAG12


Enumeration

PORT     STATE SERVICE  VERSION
22/tcp   open  ssh      OpenSSH 7.6p1 Ubuntu 4ubuntu0.3 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey: 
|   2048 5a:05:30:5a:a3:8f:69:34:95:a1:10:d7:50:60:5e:f1 (RSA)
|   256 20:bf:82:b5:8d:3c:f5:e2:59:87:e6:77:4f:5d:6c:9d (ECDSA)
|_  256 2e:db:68:6c:96:b6:de:76:59:93:37:08:c7:fa:86:91 (ED25519)
8089/tcp open  ssl/http Splunkd httpd
|_http-server-header: Splunkd
|_http-title: splunkd
| http-robots.txt: 1 disallowed entry 
|_/
| ssl-cert: Subject: commonName=SplunkServerDefaultCert/organizationName=SplunkUser
| Not valid before: 2019-10-25T07:58:02
|_Not valid after:  2022-10-24T07:58:02
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel

Port 8089 splunkd is under SSL so we need to add https://

Untitled

Untitled

On View Page Source, /services and /serviceNS will prompt us for basic authentication

Exploitation

Privilege Escalation