Descrizione
Rucio is a scientific data management framework. From 1.14.0 until 35.9.1, 38.6.1, 40.4.2, and 41.1.1, validate_auth_token in lib/rucio/core/authentication.py does not distinguish short-lived SSH challenge nonces from authentication tokens stored in the same token table. An unauthenticated attacker can request /auth/ssh_challenge_token for an arbitrary account by supplying X-Rucio-Account, then present the returned X-Rucio-SSH-Challenge-Token as X-Rucio-Auth-Token to authenticate to other API endpoints as that account, including an administrative account. This issue is fixed in versions 35.9.1, 38.6.1, 40.4.2, and 41.1.1.
Come correggere
Priorità: Alta — pianificare la correzione entro pochi giorni. Motivazione: CVSS 10.0, EPSS 1.1% (percentile 67).
Versioni da aggiornare
- rucio rucio: vulnerabile la versione
>= 1.14.0, < 35.9.1→ installare l'ultima release supportata dal vendor. - rucio rucio: vulnerabile la versione
>= 36.0.0, < 38.6.1→ installare l'ultima release supportata dal vendor. - rucio rucio: vulnerabile la versione
>= 39.0.0, < 40.4.2→ installare l'ultima release supportata dal vendor. - rucio rucio: vulnerabile la versione
>= 41.0.0, < 41.1.1→ installare l'ultima release supportata dal vendor.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Non esporre l'interfaccia di gestione su Internet: consentire l'accesso solo da reti fidate e verificare la presenza di account, sessioni o chiavi 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 |
|---|---|---|---|
| rucio | rucio | >= 1.14.0, < 35.9.1 | — |
| rucio | rucio | >= 36.0.0, < 38.6.1 | — |
| rucio | rucio | >= 39.0.0, < 40.4.2 | — |
| rucio | rucio | >= 41.0.0, < 41.1.1 | — |
Riferimenti
- Riferimentohttps://github.com/rucio/rucio/commit/4d4a58571ba853f3a55aef16ad9eb0944fce7483
- Riferimentohttps://github.com/rucio/rucio/commit/4df924feb539ef789b3e78cbc00712ef8cdf606e
- Riferimentohttps://github.com/rucio/rucio/commit/d7a3c2c2f933dce8edbcad07d8d076b9b782da35
- Riferimentohttps://github.com/rucio/rucio/commit/f5db3546d9c0de4642dc9aa52e6a6e447911d680
- Riferimentohttps://github.com/rucio/rucio/releases/tag/35.9.1
- Riferimentohttps://github.com/rucio/rucio/releases/tag/38.6.1
- Riferimentohttps://github.com/rucio/rucio/releases/tag/40.4.2
- Riferimentohttps://github.com/rucio/rucio/releases/tag/41.1.1
- Riferimentohttps://github.com/rucio/rucio/security/advisories/GHSA-x585-4vv8-2mh2
- Riferimentohttps://github.com/rucio/rucio/security/advisories/GHSA-x585-4vv8-2mh2