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

Microsoft Azure Kubernetes Service Confidential Container Elevation of Privilege Vulnerability (CVE-2024-21400)

A flaw in Azure Kubernetes Service Confidential Containers let an unauthenticated attacker who could reach the untrusted node and confidential container take over confidential guests and containers beyond the network stack they were bound to. Successful exploitation could also steal credentials and affect resources outside the security scope managed by AKSCC.

Yuval Avrahami Follow

Originally disclosed on Microsoft

High 9.0 View original

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to prepare the target environment to improve exploit reliability.

FAQ

According to the CVSS metric, privileges required is none (PR:N). Does the attacker need to be authenticated? No. An unauthenticated attacker can move the same workload onto a machine they control, where the attacker is root.

FAQ

According to the CVSS metric, successful exploitation could lead to a scope change (S:C). What does this mean for this vulnerability? An attacker who successfully exploited this vulnerability could steal credentials and affect resources beyond the security scope managed by Azure Kubernetes Service Confidential Containers (AKSCC).

FAQ

Is there any action I need to take to be protected from this vulnerability? Customer must ensure they are running the latest version of az confcom and Kata Image. Customers who do not have az confcom installed can install the latest version by executing az extension add -n confcom . Customers who are running versions prior to 0.3.3 need to update by executing az extension update -n confcom . For more information, reference: Confidential computing plugin for Confidential VMs . https://learn.microsoft.com/en-us/cli/azure/extension?view=azure-cli-latest#az-extension-update https://github.com/Azure/AgentBaker/blob/master/vhdbuilder/release-notes/AKSCBLMarinerV2/gen2kata/202402.26.0.txt

FAQ

How could an attacker exploit this vulnerability? An attacker can access the untrusted AKS Kubernetes node and AKS Confidential Container to take over confidential guests and containers beyond the network stack it might be bound to.

Microsoft Azure Kubernetes Service

Microsoft Azure Kubernetes Service

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Yuval Avrahami. 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 a weakness in the confidential container tooling and Kata image that allowed the isolation boundary between the untrusted node and the confidential guest to be crossed.

Impact

An attacker could take over confidential guests and containers and steal credentials, affecting resources beyond the scope managed by AKSCC; the text notes exploitation requires preparing the target environment to improve reliability.

What the attacker needed

Access to the untrusted AKS node; access to the confidential container; attacker prepares the target environment

The fix

It was fixed by updating the az confcom extension to version 0.3.3 or later and running the latest Kata image.

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.

Confidential containers are meant to keep their contents private even from the cloud operator, using a protected virtual machine boundary. This bug meant someone who could already reach the ordinary, unprotected part of the cluster could break out of that boundary and take over the protected guests and containers. They could then steal credentials and reach things outside the protected area.

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 Yuval Avrahami

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.