Descrizione
CKAN is an open-source data management system for data hubs and data portals. Prior to 2.10.11 and 2.11.6, the web user registration flow authenticates a newly registered account without first regenerating the session identifier when server-side session storage is configured. An attacker who can set a session cookie in a victim's browser or obtain the victim's current valid session identifier can reuse that identifier after the victim registers, gaining access to the new account. CKAN uses cookie-based sessions by default, and web registration is disabled by default through ckan.auth.create_user_via_web. This issue is fixed in CKAN 2.10.11, 2.11.6, and 2.12.0.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.8, EPSS 0.3% (percentile 26).
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
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.
Riferimenti
- Riferimentohttps://github.com/ckan/ckan/commit/6eae4e9c430e163b9d6cc75a3fd2ca82e79d80f6
- Riferimentohttps://github.com/ckan/ckan/commit/8f8e8b587461b66120ec7a85c17a34ecea213f57
- Riferimentohttps://github.com/ckan/ckan/commit/a25e2f3080a79a94eb04dcf02e16ded3e5fadeb2
- Riferimentohttps://github.com/ckan/ckan/commit/c30bae7fdd616d98a5d47cc31f9e8d5d1ad7bcd2
- Riferimentohttps://github.com/ckan/ckan/commit/c72815a5afd50cf689fcfb688f431dec21a85915
- Riferimentohttps://github.com/ckan/ckan/releases/tag/ckan-2.10.11
- Riferimentohttps://github.com/ckan/ckan/releases/tag/ckan-2.11.6
- Riferimentohttps://github.com/ckan/ckan/releases/tag/ckan-2.12.0
- Riferimentohttps://github.com/ckan/ckan/security/advisories/GHSA-6499-jgj4-2wpf