Descrizione
Open OnDemand is an open-source high-performance computing portal. Prior to 4.1.6 and 4.2.3, the Open OnDemand dashboard includes noVNC passwords in query parameters generated by apps/dashboard/app/helpers/batch_connect/sessions_helper.rb and apps/dashboard/app/views/batch_connect/sessions/connections/_novnc.html.erb. The server records those query strings in per-user PUN access logs, and insufficiently protected log directories can allow another local user to recover and replay a launch URL. Replaying the credential grants access to the running remote desktop and can result in horizontal or vertical privilege escalation according to the privileges of the desktop owner. This issue is fixed in versions 4.1.6 and 4.2.3.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.4, EPSS 0.1% (percentile 1).
Versioni da aggiornare
- OSC ondemand: vulnerabile la versione
< 4.1.6→ installare l'ultima release supportata dal vendor. - OSC ondemand: vulnerabile la versione
>= 4.2.0, < 4.2.3→ installare l'ultima release supportata dal vendor.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Verificare quali dati risultano esposti e ruotare eventuali segreti (token, password, chiavi) potenzialmente compromessi.
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 |
|---|---|---|---|
| OSC | ondemand | < 4.1.6 | — |
| OSC | ondemand | >= 4.2.0, < 4.2.3 | — |
Riferimenti
- Riferimentohttps://github.com/OSC/ondemand/commit/3ade99c529d8244a1411a58da3628631fd06c5f1
- Riferimentohttps://github.com/OSC/ondemand/commit/efdc06a8deed9be010e04c6ab4e9bcc55e3b8474
- Riferimentohttps://github.com/OSC/ondemand/pull/5562
- Riferimentohttps://github.com/OSC/ondemand/releases/tag/v4.1.6
- Riferimentohttps://github.com/OSC/ondemand/releases/tag/v4.2.3
- Riferimentohttps://github.com/OSC/ondemand/security/advisories/GHSA-pj66-qf5q-g7g5
- Riferimentohttps://github.com/OSC/ondemand/security/advisories/GHSA-pj66-qf5q-g7g5