Open Cluster Management vulnerable to Trust Boundary Violation
High severity
GitHub Reviewed
Published
Dec 18, 2024
to the GitHub Advisory Database
•
Updated Dec 18, 2024
Description
Published by the National Vulnerability Database
Dec 17, 2024
Published to the GitHub Advisory Database
Dec 18, 2024
Reviewed
Dec 18, 2024
Last updated
Dec 18, 2024
A flaw was found in Open Cluster Management (OCM) when a user has access to the worker nodes which contain the cluster-manager or klusterlet deployments. The cluster-manager deployment uses a service account with the same name "cluster-manager" which is bound to a ClusterRole also named "cluster-manager", which includes the permission to create Pod resources. If this deployment runs a pod on an attacker-controlled node, the attacker can obtain the cluster-manager's token and steal any service account token by creating and mounting the target service account to control the whole cluster.
References