PT-2023-20675 · Kubevirt+1 · Kubevirt+1

Jietao Xiao

+4

·

Published

2023-03-15

·

Updated

2024-06-15

·

CVE-2023-26484

CVSS v3.1

8.2

High

VectorAV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions KubeVirt versions 0.59.0 and prior
Description KubeVirt is a virtual machine management add-on for Kubernetes. If a malicious user has taken over a Kubernetes node where virt-handler (the KubeVirt node-daemon) is running, the virt-handler service account can be used to modify all node specs. This can be misused to lure-in system-level-privileged components which can, for instance, read all secrets on the cluster, or can exec into pods on other nodes. This way, a compromised node can be used to elevate privileges beyond the node until potentially having full privileged access to the whole cluster. The simplest way to exploit this, once a user could compromise a specific node, is to set with the virt-handler service account all other nodes to unschedulable and simply wait until system-critical components with high privileges appear on its node.
Recommendations As a temporary workaround, gatekeeper users can add a webhook which will block the virt-handler service account to modify the spec of a node. For versions 0.59.0 and prior, consider adding a webhook to block the virt-handler service account from modifying node specs until a patch is available. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Incorrect Authorization

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-25673
AZL-34902
CVE-2023-26484
GHSA-CP96-JPMQ-XRR2
OPENSUSE-SU-2024:12792-1
SUSE-SU-2023:1967-1
SUSE-SU-2023_1967-1

Affected Products

Kubevirt
Suse