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

Azure Command Line Integration (CLI) Elevation of Privilege Vulnerability (CVE-2024-43591)

An attacker holding the Security Admin or Contributor role could run particular Azure CLI commands that caused service management operations to execute with SYSTEM-level permissions in Azure Defender for Cloud. This let them deploy or manage Defender for Cloud resources they were not permitted to access.

Peng Zhou Follow

Originally disclosed on Microsoft

High 8.7 View original

FAQ

What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.

FAQ

According to the CVSS metric, privileges required is high (PR:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires the attacker to be assigned the role of “ Security Admin ” or “ Contributor ”.

FAQ

According to the CVSS metric, a successful exploitation could lead to a scope change (S:C). What does this mean for this vulnerability? The vulnerability enables an attacker to run specific Azure CLI commands to perform service management operations or deploy other Azure resources in the victim's subscription.

FAQ

How could an attacker exploit the vulnerability? An attacker assigned the role of "Security Admin" or "Contributor" in the target environment could run specific Azure CLI commands that result in certain service management operations being performed with System level permissions in Azure Defender for Cloud. An attacker could use this vulnerability to deploy or manage Defender for Cloud resources they are not permitted to access.

Azure CLI

Azure CLI

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Peng Zhou (zpbrent) with Shanghai University. 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 Azure CLI integration passed user-supplied command parameters into service management operations without properly limiting the permissions those operations ran under.

Impact

An attacker with the Security Admin or Contributor role could gain SYSTEM privileges and deploy or manage Defender for Cloud resources they were not permitted to access.

What the attacker needed

Security Admin or Contributor role; ability to run Azure CLI commands

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.

Azure lets people with certain roles, such as Contributor, manage parts of a cloud subscription. This report says that by running particular command-line instructions, someone with such a role could make the system carry out actions with far higher permissions than they were given. In effect they could touch resources they should not have been able to reach.

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 Peng Zhou

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.