
Este script es para uso educativo y en entornos autorizados como HackTheBox. El uso contra sistemas sin permiso explícito es ilegal.
This code is for educational purposes only and controlled environments such as laboratories (Hack The Box). Do not use on systems without authorization.
This repository contains an exploit script for the Docker Remote API exposed (without authentication) vulnerability that allows container escape to the host by creating privileged containers. The vulnerability was identified while solving the MonitorsFour machine on Hack The Box.
An attacker can:
The exploitation is based on:
Usage
chmod +x escape.sh
./escape.sh
Access to the host Once inside the container:
cd /mnt/host
ls
In this case (HTB environment):
cat /mnt/host/mnt/host/c/Users/Administrator/Desktop/root.txt