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

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

The Azure Monitor Agent had an elevation of privilege flaw that let an attacker act with SYSTEM-level file permissions. An attacker could then create, modify or delete files as the NT AUTHORITY\SYSTEM account, affecting integrity and availability but not confidentiality.

Simon Follow

Originally disclosed on Microsoft

High 7.1 View original

FAQ

According to the CVSS metrics, successful exploitation of this vulnerability does not impact confidentiality (C:N), but has major impact on integrity (I:H) and availability (A:H). What does that mean for this vulnerability? Exploitation of this vulnerability does not disclose any confidential information but allows an attacker to modify or delete files containing data which could cause the service to become unavailable.

FAQ

What privileges could be gained by an attacker who successfully exploited the vulnerability? An attacker who successfully exploited this vulnerability could create, modify, or delete files in the security context of the NT AUTHORITY\SYSTEM account.

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 .

Azure Monitor

Azure Monitor

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by @sim0nsecurity. 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

Impact

An attacker could create, modify or delete files as SYSTEM, which could break or take down the service, but no confidential data would be exposed.

What the attacker needed

Access to a host running the agent; agent not yet updated

The fix

The agent was fixed by updating 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.

Every program on Windows runs with a set of permissions, and the highest one is the SYSTEM account, which can change almost anything on the machine. This flaw meant the monitoring agent could be tricked into doing file operations with those top-level permissions instead of its own limited ones. So someone who got a foothold could tamper with or remove files they should not have been able to touch.

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 Simon

View all

1 more disclosed report, 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.