Docker Sandboxes Inclusion of Functionality from Untrusted Control Sphere Remote Code Execution Vulnerability
Docker Sandboxes in clone mode launched an executable from an untrusted location, allowing a local attacker to run arbitrary code as the current user. Exploitation required the target to visit a malicious page or open a malicious file.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to execute arbitrary code on affected installations of Docker Sandboxes. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
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 sandbox creation logic in clone mode resolved and executed a binary from a location that an attacker could influence, rather than from a trusted, fixed path.
Impact
A local attacker could execute arbitrary code in the context of the current user, but the target must first visit a malicious page or open a malicious file.
What the attacker needed
Local access to the machine; victim opens a malicious page or file
The fix
Docker issued an update to correct the 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 Sandboxes is a tool that creates isolated environments. In clone mode, it started a program from a place an attacker could control, so the attacker's program ran with the user's permissions. The attacker needed the user to open a malicious page or file to trigger it.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.