Skip to content
Access control Advisory Advanced

(0Day) Docker Desktop extension-manager Exposed Dangerous Function Local Privilege Escalation Vulnerability

An exposed dangerous function in Docker Desktop's extension manager allows a local attacker who already has high-privileged code execution inside a container to escalate privileges and run arbitrary code as the current user on the Windows host. The vendor rejected the report because the attack requires prior privileged access.

Nitesh Surana Follow

Originally disclosed on Zero Day Initiative

High 8.2 View original

This vulnerability allows local attackers to escalate privileges on affected installations of Docker Desktop for Windows. An attacker must first obtain the ability to execute high-privileged code within the container in order to exploit this vulnerability.

Nitesh Surana (niteshsurana.com) of TrendAI Research, on the Zero Day Initiative

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 the extension manager exposes a dangerous function without sufficient access control, allowing a container with high privileges to invoke it and execute code on the host.

Impact

An attacker with high-privileged code execution inside a container could escalate privileges and execute arbitrary code in the context of the current user on the Windows host.

What the attacker needed

Local access to Docker Desktop for Windows; high-privileged code execution inside a container

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. The extension manager is a part of Docker Desktop that loads add-ons. This report says that if an attacker can already run code with high privileges inside a container, they can use a poorly protected function in the extension manager to run code on the Windows machine outside the container, as the logged-in user. The vendor said this scenario is outside their threat model because it requires prior privileged access.

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.

More by Nitesh Surana

View all

3 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.