Descrizione
A flaw was found in Cockpit. A local authenticated user with control over a target account's home directory can exploit a privileged symlink dereference vulnerability in the `ssh-add-public-key.sh` helper. When this helper runs with elevated privileges, it can be tricked into following attacker-controlled symlinks within the `.ssh` or `authorized_keys` paths. This allows the attacker to arbitrarily change file ownership and modes, potentially leading to local privilege escalation and impacting the integrity, confidentiality, and availability of the system.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.3, EPSS 0.2% (percentile 6).
Versioni da aggiornare
- Red Hat Red Hat Enterprise Linux 10: versione corretta
0:366.1.1-1.el10_3(o successiva). - Red Hat Red Hat Enterprise Linux 10.2 Extended Update Support: versione corretta
0:356.4.1-1.el10_2(o successiva). - Red Hat Red Hat Enterprise Linux 8: versione corretta
0:310.10.2-1.el8_10(o successiva). - Red Hat Red Hat Enterprise Linux 9: versione corretta
0:366.1.1-1.el9_9(o successiva). - Red Hat Red Hat Enterprise Linux 9.8 Extended Update Support: versione corretta
0:356.4.1-1.el9_8(o successiva).
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
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 |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | — | 0:366.1.1-1.el10_3 |
| Red Hat | Red Hat Enterprise Linux 10.2 Extended Update Support | — | 0:356.4.1-1.el10_2 |
| Red Hat | Red Hat Enterprise Linux 8 | — | 0:310.10.2-1.el8_10 |
| Red Hat | Red Hat Enterprise Linux 9 | — | 0:366.1.1-1.el9_9 |
| Red Hat | Red Hat Enterprise Linux 9.8 Extended Update Support | — | 0:356.4.1-1.el9_8 |
Riferimenti
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:99599
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:99600
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:99601
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:99602
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:99603
- Riferimentohttps://access.redhat.com/security/cve/CVE-2026-91151
- Riferimentohttps://bugzilla.redhat.com/show_bug.cgi?id=2478404
- Riferimentohttps://github.com/cockpit-project/cockpit/commit/4796b28be064a90e32262cec85be7839e6198e23
- Riferimentohttps://github.com/cockpit-project/cockpit/releases/tag/372
- Riferimentohttps://bugzilla.redhat.com/show_bug.cgi?id=2478404