Azure Connected Machine Agent Elevation of Privilege Vulnerability (CVE-2024-21329)
A non-admin local user could create symbolic links from a directory used by the Azure Connected Machine Agent to privileged files, and if an administrator later installs virtual machine extensions, those files could be deleted. Successful exploitation could allow an attacker to add symlinks and cause an arbitrary file delete as SYSTEM.
FAQ
Why is the update for Azure Connected Machine Agents unavailable? The update was removed from the Microsoft Update Catalog due to reports of installation failing. The update will be re-released when the issue is resolved, and this CVE will be updated at that time.
FAQ
According to the CVSS metric, user interaction is required (UI:R) and privileges required is Low (PR:L). What does that mean for this vulnerability? A non-admin local user who has sufficient permissions to create symbolic links on a Windows computer that has Azure Connected Machine Agent installed (or before the agent is installed) could create links from a directory used by the agent to other privileged files on the computer. If the administrator later installs virtual machine extensions on the machine, those files could be deleted.
FAQ
What privileges could an attacker gain with successful exploitation? An attacker who successfully exploited the vulnerability could add symlinks and cause an arbitrary file delete as SYSTEM.
Azure Connected Machine Agent
Azure Connected Machine Agent
Microsoft
Microsoft
Customer Action Required
Yes
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 cause an arbitrary file delete as SYSTEM, but only if an administrator later installs virtual machine extensions on the machine.
What the attacker needed
Non-admin local user; permission to create symbolic links; Azure Connected Machine Agent installed; admin later installs VM extensions
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 like a shortcut that points to another file. Here, a regular user could create such shortcuts in a folder the agent uses, tricking the agent into deleting important system files when it later runs. This could let the user damage the system with high-level (SYSTEM) permissions.
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.