Eclipse Ditto
Eclipse Ditto: autenticazione aggirabile con un'identità falsa, sfruttabile via rete senza account
Il problema, secondo i dati ufficiali
- Eclipse Ditto ha una vulnerabilità classificata come «autenticazione aggirabile con un'identità falsa» (CWE-290).
- Secondo la valutazione ufficiale (CVSS) si sfrutta via rete (quindi anche da internet, se il servizio è esposto), senza bisogno di un account.
- Impatto dichiarato: lettura di dati riservati (impatto alto), modifica di dati o del sistema (impatto alto).
- Sfruttarla richiede condizioni particolari, descritte nell'avviso del produttore.
- Secondo la CISA esiste già un exploit dimostrativo pubblico.
Cosa fare
- I dati ufficiali della CVE non indicano una versione corretta: segui l'avviso del produttore.
- Se non puoi aggiornare subito, applica le misure temporanee indicate nell'avviso del produttore (a volte chiede di spegnere il servizio); se non ne indica e il servizio è raggiungibile da internet, limita chi può raggiungerlo (VPN o filtro degli indirizzi).
Versioni interessate
- Eclipse Ditto: dalla 1.1.0 alla 3.9.8 inclusa
Fonti ufficiali
- gitlab.eclipse.org — riferimento
- github.com — riferimento
- gitlab.eclipse.org — riferimento
Descrizione ufficiale (in inglese)
In Eclipse Ditto versions 1.1.0 to 3.9.8, when pre-authentication is enabled, the gateway service accepts the pre-authenticated subject not only from the `x-ditto-pre-authenticated` HTTP header set by a trusted reverse proxy, but also from an undocumented `x-ditto-pre-authenticated` URL query parameter that a client can set. A reverse proxy that only overwrites the header therefore does not stop clients from supplying their own subject. With the default configuration of the Ditto Helm chart (`global.jwtOnly: false`, which implicitly enables pre-authentication), the bundled nginx skips HTTP Basic authentication for any request with an `Authorization: Bearer` header and forwards it without the pre-authentication header. An unauthenticated remote attacker can send an invalid Bearer token together with the query parameter to authenticate as any chosen policy subject. Pre-authentication succeeds before the JWT is validated, so the attacker can read and modify Things and Policies with that subject's permissions. As a mitigation, disable pre-authentication in the gateway (`ENABLE_PRE_AUTHENTICATION=false`) or, when using the Helm chart, configure `global.jwtOnly: true`.
Non sai se ti riguarda?
Se usi Eclipse Ditto e non sai quale versione hai, o hai un sito o un e-commerce da tenere al sicuro, possiamo controllarlo noi. Intanto puoi fare un primo controllo gratuito.
Scheda compilata in automatico dai dati ufficiali (CISA KEV, NVD, CVE.org, FIRST EPSS). Non è più tra le allerte recenti: i dati sono quelli dell'ultimo aggiornamento. Ultimo aggiornamento: 26 novembre 2026. Prima di intervenire verifica l'avviso del produttore.