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

Azure Managed Instance for Apache Cassandra Elevation of Privilege Vulnerability (CVE-2024-38175)

An improper access control flaw in Azure Managed Instance for Apache Cassandra lets an authenticated attacker who can deploy User Defined Functions send crafted requests to the underlying host and extract managed identity credentials belonging to other clusters on the same node. The stolen credentials allow impersonation of the victim's managed identity and retrieval of information from clusters that may be outside the attacker's tenant.

wtm Follow

Originally disclosed on Microsoft

Critical 9.6 View original

Description

An improper access control vulnerability in the Azure Managed Instance for Apache Cassandra allows an authenticated attacker to elevate privileges over a network.

FAQ

According to the CVSS metrics, successful exploitation of this vulnerability could lead to major loss of confidentiality (C:H) and major loss of integrity (I:H) but have no effect on availability (A:N). What does that mean for this vulnerability? Exploiting this vulnerability allows an attacker to view highly sensitive resource information (C:H) and results in a total loss of protection for that data (I:H), but does not provide the capability to impact resource availability.

FAQ

How could an attacker exploit this vulnerability? An attacker with permissions to deploy User Defined Functions (UDF) in an Azure Managed Instance for Apache Cassandra cluster can send specially crafted requests to the underlying host and extract credentials for managed identities of other clusters on the same host node. The compromised credentials enable the attacker to impersonate the victim's managed identity and retrieve information from other clusters hosted on the node which could be outside of the attacker's tenant.

Azure Managed Instance for Apache Cassandra

Azure Managed Instance for Apache Cassandra

Microsoft

Microsoft

Customer Action Required

No

The original report as published on the Microsoft Security Response Center, by wtm with Offensi. 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 service did not properly isolate User Defined Function execution from the host environment, allowing crafted requests to reach and read credentials of other clusters sharing the same node.

Impact

An attacker could view highly sensitive resource information and cause a total loss of protection for that data, potentially reaching clusters outside their own tenant, with no effect on availability.

What the attacker needed

Authenticated Azure account; permission to deploy UDFs in a Cassandra cluster

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.

A managed identity is a credential that Azure gives to a service so it can talk to other Azure resources without a password. Here, a user who was allowed to run small custom programs (User Defined Functions) inside one Cassandra cluster could trick the shared host into handing over the credentials of other customers' clusters. With those credentials, the attacker could read data that did not belong to them.

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 wtm

View all

7 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.