Skip to content
Access control Advisory Advanced CVE-2024-30060

Azure Monitor Agent Elevation of Privilege Vulnerability (CVE-2024-30060)

The Azure Monitor Agent had a flaw that let an authenticated attacker delete targeted files on a system, which could then be used to gain SYSTEM privileges. Microsoft released a fix and says customers with automatic extension upgrades are already protected.

R4nger Follow

Originally disclosed on Microsoft

High 7.8 View original

FAQ

What privileges could be gained by an attacker who successfully exploited this vulnerability? An authenticated attacker would be able to delete targeted files on a system which could result in them gaining SYSTEM privileges.

FAQ

What actions do customers need to take to protect themselves from this vulnerability? We released CVE-2024-30060 to help keep customers protected. Customers who have installed the latest updates, or have automatic updates enabled, are already protected. 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 .

Azure Monitor

Azure Monitor

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by R4nger & Zhiniang Peng. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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 with insufficient validation of what it was asked to delete, while running with high privileges.

Impact

An authenticated attacker could delete chosen files and potentially escalate to SYSTEM privileges; customers with automatic extension upgrades are already protected.

What the attacker needed

Authenticated access to the system; agent not yet updated

The fix

It was fixed by updating the Azure Monitor Agent to the latest version, either automatically or manually.

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 machines to collect monitoring data. It ran with high permissions, and someone who could already log in could make it delete files of their choosing. Deleting the right files can let an attacker replace them with their own and end up running as the machine's most powerful account, called SYSTEM.

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.

More by R4nger

View all

8 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.