Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-30060 Overview
CVE-2024-30060 is an elevation of privilege vulnerability in the Microsoft Azure Monitor Agent. The flaw is categorized under [CWE-59] (Improper Link Resolution Before File Access), indicating a link-following weakness that allows a local, authenticated attacker to abuse symbolic links or junctions to manipulate files outside the intended scope. Successful exploitation enables an attacker with low privileges to escalate to higher permissions on the affected host, impacting confidentiality, integrity, and availability.
Critical Impact
A local attacker with low privileges can gain elevated rights on systems running the Azure Monitor Agent, enabling full compromise of monitored workloads.
Affected Products
- Microsoft Azure Monitor Agent (Windows)
- Azure virtual machines with the Monitor Agent extension enabled
- Hybrid and on-premises hosts running the Azure Monitor Agent via Azure Arc
Discovery Timeline
- 2024-05-16 - CVE-2024-30060 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-30060
Vulnerability Analysis
The vulnerability is a local privilege escalation in the Azure Monitor Agent, which collects telemetry, logs, and performance data from Windows and Linux hosts. An authenticated attacker who already holds low privileges on the target system can abuse how the agent resolves file system links to coerce a privileged agent process into acting on an attacker-controlled path. The outcome is code or file operations executing in the security context of the agent, which runs with elevated rights.
The attack requires only local access and low privileges, with no user interaction. Because the Azure Monitor Agent is widely deployed across Azure virtual machines and Arc-enabled servers for compliance and observability, the vulnerability provides a reliable path from a standard user foothold to SYSTEM-level control on monitored assets.
Root Cause
The root cause is [CWE-59] Improper Link Resolution Before File Access, commonly referred to as a link-following flaw. The agent accesses files along a path that a low-privileged user can influence without first validating whether components of that path are symbolic links, junctions, or hard links. An attacker plants a crafted link that redirects a privileged file operation, such as a write, delete, or load, to a sensitive location controlled by the operating system.
Attack Vector
Exploitation is local. An attacker with an interactive session or code execution as a standard user plants symbolic links or junctions in directories that the Azure Monitor Agent reads from or writes to. When the privileged agent process performs its normal file operations, it follows the attacker-controlled link and performs the action on an unintended target. This primitive is commonly leveraged to overwrite trusted binaries, drop DLLs into search paths, or corrupt protected configuration files, resulting in SYSTEM-level code execution.
No public proof-of-concept exploit is listed for this CVE, and it is not present on the CISA Known Exploited Vulnerabilities catalog. See the Microsoft CVE-2024-30060 Update Guide for vendor-authored technical detail.
Detection Methods for CVE-2024-30060
Indicators of Compromise
- Creation of symbolic links, junctions, or hard links by non-administrative users inside Azure Monitor Agent working directories under C:\WindowsAzure\ or C:\Packages\Plugins\Microsoft.Azure.Monitor.AzureMonitorWindowsAgent\.
- Unexpected file writes or deletions in protected system paths performed by MonAgentCore.exe, MonAgentHost.exe, or related agent processes.
- New or modified DLLs appearing in agent plugin directories without a corresponding extension update event.
Detection Strategies
- Hunt for process lineage where the Azure Monitor Agent spawns cmd.exe, powershell.exe, or other interactive binaries, which is uncommon in normal operation.
- Alert on reparse point creation events (Windows Event ID 4663 with WRITE_DAC/WRITE_OWNER on directories owned by the agent) initiated by non-SYSTEM users.
- Correlate Azure Monitor Agent file operations with the identity of the user whose session owns the parent directory to surface link-following abuse.
Monitoring Recommendations
- Enable file system auditing on agent install and working directories and forward events to a central analytics pipeline.
- Monitor for integrity changes to agent binaries and extension manifests outside of scheduled Azure extension update windows.
- Track creation of symbolic links and junctions by standard users across all monitored hosts.
How to Mitigate CVE-2024-30060
Immediate Actions Required
- Apply the Microsoft-released Azure Monitor Agent update referenced in the Microsoft CVE-2024-30060 Update Guide across all Azure and Arc-enabled hosts.
- Confirm the agent extension version on each virtual machine using Get-AzVMExtension or the Azure portal and force an upgrade on any instance still running a vulnerable build.
- Restrict interactive logon on monitored servers to administrators only, reducing the pool of users able to stage a local attack.
Patch Information
Microsoft addressed the vulnerability through an Azure Monitor Agent extension update. The agent is deployed as a managed Azure VM extension, so new installations and auto-upgrade enabled instances receive the fixed version automatically. Operators managing fleets with manual version pinning must explicitly roll forward to the patched release listed in the Microsoft CVE-2024-30060 Update Guide.
Workarounds
- Enable automatic extension upgrade on Azure virtual machines so Microsoft-published agent fixes deploy without administrator intervention.
- Remove or disable the Azure Monitor Agent on hosts that do not require telemetry collection until the patched version is confirmed installed.
- Harden NTFS permissions on agent working directories to deny link creation by non-administrative accounts where feasible.
# Verify Azure Monitor Agent extension version across a subscription
az vm extension list \
--query "[?name=='AzureMonitorWindowsAgent'].{vm:virtualMachine, version:typeHandlerVersion, autoUpgrade:enableAutomaticUpgrade}" \
--output table
# Enable automatic upgrade on a specific VM extension
az vm extension set \
--resource-group <rg-name> \
--vm-name <vm-name> \
--name AzureMonitorWindowsAgent \
--publisher Microsoft.Azure.Monitor \
--enable-auto-upgrade true
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

