Sirol
Last updated
Was this helpful?
Last updated
Was this helpful?
Kibana is running on port 5601
Looks like Kibana is running on version 6.5.0 which is vulnerable to Remote Code Execution.
Visit https://github.com/LandGrey/CVE-2019-7609/ and copy the python exploit to your local machine.
Set a reverse shell listener
Run the exploit
And you should receive a root shell inside a Docker container.
Looks like --privilege
flag is set since we can run fdisk -l
Let's mount /dev/sda1
Create .ssh
folder on /root
Copy your .ssh/id_rsa.pub
and paste it to the remote machine's .ssh/authorized_keys
Now you can SSH directly to the machine and escape the container.
Thanks for reading and enjoy the rest of your day!