Docker Desktop Link Following Denial-of-Service Vulnerability
The Docker Desktop Service follows symbolic links when deleting files, allowing a local attacker with low-privileged code execution to delete arbitrary files and cause a denial-of-service condition.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to create a denial-of-service condition on affected installations of Docker Desktop. An attacker must first obtain the ability to execute low-privileged code on the target system 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 the Docker Desktop Service does not properly validate file paths or resolve symbolic links before deleting files, allowing a low-privileged user to redirect the deletion to arbitrary files.
Impact
An attacker could delete arbitrary files, leading to a denial-of-service condition on the system.
What the attacker needed
Low-privileged code execution on target
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.
A symbolic link is a shortcut that points to another file. The Docker Desktop Service, which runs with higher privileges, deletes files but does not check if a shortcut is being used. A local attacker can create a shortcut to an important file, and when the service deletes it, the real file is removed, breaking the system.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.