Azure Monitor Agent Elevation of Privilege Vulnerability (CVE-2024-29989)
An authenticated attacker holding only read access permissions could exploit a flaw in the Azure Monitor Agent to delete arbitrary files and folders on the host where the agent is installed. This could remove data and make the service unavailable, though no confidential information could be disclosed.
Originally disclosed on Microsoft
FAQ
According to the CVSS metric, a successful exploitation could lead to a scope change (S:C). What does this mean for this vulnerability? An exploited vulnerability can affect resources beyond the security scope managed by the security authority of the vulnerable component. In this case, the vulnerable component and the impacted component are different and managed by different security authorities.
FAQ
What actions do customers need to take to protect themselves from this vulnerability? Customers who have disabled Automatic Extension Upgrades or would like to upgrade an extension immediately must manually update their Azure Monitor Agent to the latest version. For more information on how to perform a manual update, see Manage Azure Monitor Agent .
FAQ
How could an attacker exploit this vulnerability and what privileges could an attacker gain? An authenticated attacker with read access permissions can exploit this vulnerability to perform arbitrary file and folder deletion on the host where the Azure Monitor Agent is installed.
FAQ
According to the CVSS metrics, successful exploitation of this vulnerability could lead to no loss of confidentiality (C:N) but have major impact on integrity (I:H) and on availability (A:H). What does that mean for this vulnerability? This vulnerability does not allow disclosure of any confidential information, but could allow an attacker to delete data that could include data that results in the service being unavailable.
Azure Monitor
Azure Monitor
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
Root cause
Likely the agent performed file operations using paths it did not properly validate or restrict, letting a low-privileged user reach files outside its intended scope.
Impact
An attacker could delete data, potentially including data whose loss makes the service unavailable; confidentiality is not affected, and the text notes the impact crosses a security scope boundary.
What the attacker needed
Authenticated account; read access permissions
The fix
The agent should be updated to the latest version, either through automatic extension upgrades or a manual update.
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.
The Azure Monitor Agent is a small program Microsoft installs on servers to collect monitoring data. Someone with a low-privilege account that should only be able to look at things could trick this program into deleting any file or folder on the machine. That means they could destroy data or stop the service from working, even though they were never meant to change anything.
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.