Microsoft Azure MCR VSTS CLI vstscli Uncontrolled Search Path Element Remote Code Execution Vulnerability
The MCR VSTS CLI installer attempts to load a non-existent cloud resource that is vulnerable to takeover. An attacker could exploit this to execute arbitrary code on systems that depend on that resource.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of MCR VSTS CLI for Microsoft Azure. Authentication is not required 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
Impact
An attacker could execute arbitrary code on systems where the CLI is installed, but only if they successfully take over the cloud resource.
What the attacker needed
Install MCR VSTS CLI; attacker takes over cloud resource
The fix
Microsoft 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.
When you install a program, it sometimes downloads extra files from the internet. Here, the installer looked for a file at a web address that no longer existed. An attacker could claim that address and put their own malicious file there, so the installer would run the attacker's code.
What is Subdomain takeover?
A company's DNS still points at a cloud service it no longer uses, so anyone can claim it and serve content on the company's domain.