Descrizione
In Eclipse Ditto versions 2.4.0 to 3.9.8, Thing fields a requester is not allowed to read can be disclosed through the `condition` and `live-channel-condition` headers, which are evaluated against the full Thing: the READ check of `live-channel-condition` is skipped when a `condition` header is also present on Thing query commands (3.0.0 to 3.9.8); both headers are evaluated without any authorization on WoT Thing Description requests (`Accept: application/td+json`) when WoT TD permission filtering is not active (by default in 3.0.0 to 3.8.14, in 2.4.x with WoT integration enabled, and in 3.9.x with filtering disabled); the `condition` of live messages and live events is evaluated without a READ check, and of claim messages without any permission (3.1.0 to 3.9.8); and the twin response of a Thing query with a non-matching `live-channel-condition` is returned without filtering it by the policy (3.0.0 to 3.9.8). This allows an authenticated user to read Thing fields they are not allowed to read, in some cases without any permission on the Thing.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.1, EPSS 0.4% (percentile 31).
Versioni da aggiornare
- Eclipse Foundation Eclipse Ditto: vulnerabili le versioni dalla
2.4.0fino alla3.9.8inclusa → aggiornare a una release successiva alla3.9.8.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Restringere l'accesso al componente, applicare il principio del minimo privilegio e controllare i log per operazioni non autorizzate.
- 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 |
|---|---|---|---|
| Eclipse Foundation | Eclipse Ditto | ≥ 2.4.0 ≤ 3.9.8 | — |
Riferimenti
- Riferimentohttps://github.com/eclipse-ditto/ditto/security/advisories/GHSA-x88m-jq5c-jpcq
- Riferimentohttps://gitlab.eclipse.org/security/cve-assignment/-/work_items/587
- Riferimentohttps://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1390
- Riferimentohttps://github.com/eclipse-ditto/ditto/security/advisories/GHSA-x88m-jq5c-jpcq