Comment on What actual damage do you secure your servers against? Whats the attack vector?

<- View Parent
Morgikan@fedia.io ⁨17⁩ ⁨hours⁩ ago

It would depend on having access to misconfigured permissions or docker.sock like when you chain containers to manage other containers. Because you have access to docker.sock and that socket can send API calls to the docker daemon (which is run from root) those commands would inherit the same level of access. An attacker could make the API call to mount /:/root and then access the host filesystem.

It's just an example of how even though the container might not have anything worthwhile, it can be used to laterally move and open another door.

original
Sort:hotnewtop