Microsoft Azure Kubernetes Service Confidential Container Elevation of Privilege Vulnerability (CVE-2024-21403)
An unauthenticated attacker with access to an AKS Kubernetes node could take over confidential guests and containers beyond the network stack, and steal credentials affecting resources outside the AKSCC security scope. Exploitation requires preparing the target environment to improve reliability.
Originally disclosed on Microsoft
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
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.
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
Microsoft Azure Kubernetes Service
Microsoft Azure Kubernetes Service
Microsoft
Microsoft
Customer Action Required
Yes
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 flaw in the confidential container isolation boundary that lets a node-level attacker escape into confidential guests and containers.
Impact
An attacker could take over confidential guests and containers and steal credentials, affecting resources beyond the AKSCC security scope; exploitation is complex and needs the target environment prepared.
What the attacker needed
Access to an AKS Kubernetes node; prepare the target environment
The fix
Customers should update az confcom to version 0.3.3 or later and run 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.
Azure Kubernetes Service (AKS) is Microsoft's managed way to run containers in the cloud. Confidential Containers are a security feature meant to keep container data private even from the cloud operator. This flaw meant someone who could reach the underlying node could break out of that protection and take over the confidential workloads, potentially stealing credentials.
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.