Descrizione
Open OnDemand is an open-source high-performance computing portal. Prior to Open OnDemand 4.1.6 and 4.2.3, and prior to ood-ansible 4.2.1, the portal generator defaults OIDCCryptoPassphrase to SHA1(servername), and the templates/ood_portal.yml.j2 role checks a different variable from the documented passphrase setting. Administrators who set ood_oidc_crypto_passphrase can therefore believe a strong secret is configured while the deployment continues to use an attacker-derivable value. In OIDCSessionType client-cookie deployments, an unauthenticated remote attacker can derive the encryption key and forge a mod_auth_openidc_session cookie for another user, while server-cache deployments permit lower-impact tampering with protected OIDC state and nonce cookies. This issue is fixed in Open OnDemand versions 4.1.6 and 4.2.3 and ood-ansible version 4.2.1.
Come correggere
Priorità: Alta — pianificare la correzione entro pochi giorni. Motivazione: CVSS 9.1, EPSS 0.4% (percentile 35).
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. - ood-ansible osc.open_ondemand: vulnerabile la versione
< 4.2.1→ installare l'ultima release supportata dal vendor.
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 |
|---|---|---|---|
| OSC | ondemand | < 4.1.6 | — |
| OSC | ondemand | >= 4.2.0, < 4.2.3 | — |
| ood-ansible | osc.open_ondemand | < 4.2.1 | — |
Riferimenti
- Riferimentohttps://github.com/OSC/ondemand/commit/26ff4b4f21a4f5a2ab8eeafe495aee883f763263
- Riferimentohttps://github.com/OSC/ondemand/commit/2cf5c2871622acf3a84c1269481c4c0ca6df543c
- Riferimentohttps://github.com/OSC/ondemand/pull/5559
- 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-3wm4-r2jj-43pp
- Riferimentohttps://github.com/OSC/ood-ansible/commit/29dfbc7993cf48ae7553551c13bdf1406fa218ad
- Riferimentohttps://github.com/OSC/ood-ansible/pull/303
- Riferimentohttps://github.com/OSC/ood-ansible/releases/tag/v4.2.1