This module escapes from a privileged Docker container and obtains root on the host machine by abusing the Linux cgroup notification on release feature. This exploit should work against any container started with the following flags: `--cap-add=SYS_ADMIN`, `--privileged`.
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/linux/local/docker/privileged_container_escapemsf undefined(privileged_container_escape) > show actions ...actions...msf undefined(privileged_container_escape) > set ACTION < action-name >msf undefined(privileged_container_escape) > show options ...show and set options...msf undefined(privileged_container_escape) > runWith curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hubexploit
Normal
No
Jul 17, 2019
stealthcopter
repeatable-session
crash-safe