(Pwn2Own) Docker Desktop extension-manager Exposed Dangerous Function Privilege Escalation Vulnerability
The Docker Desktop extension manager exposes a dangerous function that allows a local attacker with high-privileged code execution inside a container to escalate privileges and execute arbitrary code on the host. The flaw is in the implementation of Docker Extensions functionality.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to escalate privileges on affected installations of Docker Desktop. An attacker must first obtain the ability to execute high-privileged code within the container in order to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely an exposed dangerous function in the Docker Extensions implementation that does not properly restrict access, allowing privilege escalation from container to host.
Impact
An attacker with high-privileged code execution inside a container could escalate privileges and execute arbitrary code on the host.
What the attacker needed
High-privileged code execution inside a container
The fix
Docker has issued an update to correct this vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Docker Desktop lets you run containers, which are like lightweight virtual machines. A vulnerability in its extension manager means that if an attacker already has high-level access inside a container, they can use a poorly protected function to break out and run code on the host computer. This is dangerous because it turns a contained problem into full control of the machine.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.