Microsoft Azure Kubernetes Service Elevation of Privilege Vulnerability (CVE-2023-29332)
A vulnerability in Azure Kubernetes Service allowed an attacker to gain Cluster Administrator privileges by accessing tokens beyond a user's typical privilege. The exploit results in token disclosure but does not affect integrity or availability.
FAQ
What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could gain Cluster Administrator privileges.
FAQ
How do I protect my resources against this vulnerability? Customers must update or upgrade their Azure Kuberenetes Service resource deployments using the following guidance: Upgrade your AKS node image to receive the fix without altering your Kubernetes version. Upgrade your AKS cluster to a newer version which will also bring your node image to the latest version.
FAQ
What additional actions can customers take to help ensure their resources are secure? We highly encourage customers to enable automatic node image upgrades for their Azure Kubernetes Resources to get the latest security releases in the future. General Availability Customers: Automatically upgrade an Azure Kubernetes Service (AKS) cluster - Azure Kubernetes Service | Microsoft Learn CLI command: az aks update --resource-group [myResourceGroup] --name [myAKSCluster] --auto-upgrade-channel node-image Or Preview Customers: Automatically upgrade Azure Kubernetes Service (AKS) cluster node operating system images - Azure Kubernetes Service | Microsoft Learn : CLI command: az aks update --resource-group [myResourceGroup] --name [myAKSCluster] --node-os-upgrade-channel NodeImage
FAQ
According to the CVSS metric, attack complexity is high (AC:H) but integrity is none (I:N) and availability is none (A:N). What does that mean for this vulnerability? The Confidentiality is set to High because an attacker who successfully exploits this vulnerability could access tokens beyond a user’s typical privilege. The exploit results in token disclosure, however it does not affect the Integrity and Availability of the system. Thus, both of these are set as None.
FAQ
According to the CVSS metric, the attack vector is network (AV:N) and the attack complexity is low (AC:L). What does that mean for this vulnerability? The attack vector is set to Network because this vulnerability is remotely exploitable and can be exploited from the internet. The attack complexity is set to Low because an attacker does not require significant prior knowledge of the cluster/system and can achieve repeatable success when attempting to exploit this vulnerability.
FAQ
How do I determine if my resources are susceptible to this vulnerability? Azure Kubernetes Service resources using the following image versions are protected against this vulnerability. AKS resources with Ubuntu OS - Image 202308.01 or above AKS resources with Windows OS - Image 20348.1906 or above To determine if any of your resources are susceptible to this CVE, navigate to your cluster's overview page in the Azure Portal, and select Diagnose and Solve Problems . Navigate to Identity and Security and select TLS Bootstrap Token CVE to identify the susceptible agent pools in your AKS cluster. Note: Agent pools created or upgraded in the last 48 hours are protected; however, this might not immediately reflect in Diagnose and Solve Problems . Please allow up to 48 hours for the results to be updated.
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 how AKS handles TLS bootstrap tokens, allowing an attacker to obtain tokens with higher privileges than intended.
What the attacker needed
AKS cluster with vulnerable node image; network access to the cluster
The fix
The vulnerability was fixed by updating the AKS node image to version 202308.01 or above for Ubuntu, or 20348.1906 or above for Windows, or by upgrading the 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.
This is a security flaw in Microsoft's Azure Kubernetes Service (AKS), a managed service for running containerised applications. An attacker could exploit it to obtain secret tokens that let them act as a cluster administrator, giving them full control over the cluster. The flaw is fixed by updating the node image or upgrading the cluster.
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.