1. Archivio CVE
  2. 2024
  3. CVE-2024-9779

CVE-2024-9779

7.5 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N 7.5 – Alta

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
– open-cluster-management-io 0.12.0 –
redhat acm 2 –

Tipo di vulnerabilità

CWE-266 Assegnazione errata dei privilegi

Il prodotto assegna per errore un privilegio a un soggetto, che finisce per avere poteri maggiori di quelli previsti.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Ottenere privilegi o assumere un’altra identità

Come si previene

Architettura e progettazione · Esercizio Gestisci con molta attenzione l’assegnazione e l’uso dei privilegi, e definisci in modo esplicito le zone di fiducia del software.
Architettura e progettazione · Esercizio · Hardening dell’ambiente Run your code using the lowest privileges that are required to accomplish the necessary tasks. If possible, create isolated accounts with limited privileges that are only used for a single task. That way, a successful attack will not immediately give the attacker access to the rest of the software or its environment. For example, database applications rarely need to run as the database administrator, especially in day-to-day operations.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 1.265 CVE di tipo CWE-266, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org