Docker Agent read_skill Missing Authorization Remote Code Execution Vulnerability
The read_skill tool in Docker Agent lacked an authorization check before allowing access to functionality. A local attacker could exploit this, with user interaction, to execute arbitrary code in the context of the current user.
This vulnerability allows local attackers to execute arbitrary code on affected installations of Docker Agent. 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 a missing authorization check in the read_skill tool allowed access to functionality that should have been restricted.
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 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 Agent is a program that runs on a computer. A part of it called read_skill was supposed to check whether someone was allowed to use it, but it did not. Because of that missing check, someone who can run things on the same computer could get the program to run their own code, as long as the user is tricked into opening a malicious page or file.
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.