Descrizione
A flaw was found in the cluster-proxy service-proxy component used in Red Hat Advanced Cluster Management for Kubernetes (RHACM) and multicluster-engine (MCE). The service-proxy appends impersonation group headers to proxied requests without first removing caller-supplied values, and the spoke ServiceAccount holds unrestricted impersonation permissions. An authenticated hub principal can inject an Impersonate-Group header to escalate to cluster-admin on every managed cluster.
Tipo di vulnerabilità
CWE-441
Unintended Proxy or Intermediary
The product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere.
Impatto sui sistemi
| Ambito | Impatto |
| Non ripudio, Controllo degli accessi |
Ottenere privilegi o assumere un’altra identità, Nascondere le proprie attività, Eseguire codice o comandi non autorizzati, Aggirare i meccanismi di protezione |
Come si previene
Architettura e progettazione
Enforce the use of strong mutual authentication mechanism between the two parties.
Architettura e progettazione
Whenever a product is an intermediary or proxy for transactions between two other components, the proxy core should not drop the identity of the initiator of the transaction. The immutability of the identity of the initiator must be maintained and should be forwarded all the way to the target.
Tutte le 236 CVE di tipo CWE-441, con andamento e prevenzione