Descrizione
KubeSphere 4.0.0 through 4.1.3 contains a missing authorization vulnerability in the CertificateSigningRequest controller that allows attackers with permission to create CertificateSigningRequest objects to escalate privileges by exploiting automatic approval of requests carrying a kubesphere.io/username label without verifying the requester's identity or subject match. Attackers can submit a CertificateSigningRequest for the kubernetes.io/kube-apiserver-client signer with an arbitrary subject such as a platform administrator to obtain a cluster CA-signed client certificate, enabling authentication as the chosen identity and full cluster administrator privilege escalation.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.8, EPSS 0.4% (percentile 25).
Versioni da aggiornare
- kubesphere kubesphere: vulnerabili le versioni dalla
4.0.0fino alla4.1.3inclusa → aggiornare a una release successiva alla4.1.3.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Restringere l'accesso al componente, applicare il principio del minimo privilegio e controllare i log per operazioni non autorizzate.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| kubesphere | kubesphere | ≥ 4.0.0 ≤ 4.1.3 | — |
Riferimenti
- Riferimentohttps://github.com/ashikmd7/kubeSphere/blob/main/CertificateSigningRequest%20Controller%20Authorization%20Bypass/README.md
- Riferimentohttps://github.com/kubesphere/kubesphere/issues/6660
- Riferimentohttps://www.vulncheck.com/advisories/kubesphere-missing-authorization-via-certificatesigningrequest-controller