In Eclipse Ditto versions 3.6.0 to 3.8.13 and 3.9.0 to 3.9.7, the Ditto Explorer UI loads its complete environment configuration, including the Ditto API URI and the OpenID Connect (OIDC) provider set
What fixes it
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
In Eclipse Ditto versions 3.6.0 to 3.8.13 and 3.9.0 to 3.9.7, the Ditto Explorer UI loads its complete environment configuration, including the Ditto API URI and the OpenID Connect (OIDC) provider settings, from an arbitrary cross-origin URL supplied in the environmentsURL query parameter. It adopts this configuration without user confirmation and persists it in the browser's localStorage. A crafted link can therefore set an attacker-controlled OIDC authority with autoSso enabled. The UI then automatically starts a login at the genuine identity provider but exchanges the returned authorization code together with its PKCE code_verifier at an attacker-controlled token endpoint. This lets the attacker redeem the code for the victim's access and refresh tokens. Alternatively, an attacker-controlled api_uri causes the UI to send the victim's bearer token or Basic credentials to the attacker. Because the configuration is persisted, later visits to the UI without the crafted link repeat the token theft. In versions 3.9.0 to 3.9.7, the Swagger UI OIDC integration of the Helm chart and the Docker Compose deployment is affected in the same way, but requires the user to start the login. The issue is fixed in 3.8.14 and 3.9.8.
Text from CVE List
Affected versions 2
- Ditto Explorer UIaffected: 3.6.0 before 3.8.14CVE List
- Ditto Explorer UIaffected: 3.9.0 before 3.9.8CVE List
References 8
- github.com/eclipse-ditto/ditto/commit/d4e51ba20e53c73e3b24e64d4aca57f6079d9ca1Fixvia CVE List
- github.com/eclipse-ditto/ditto/commit/71061f0b01df596fad80fb24502eb1e852ea6909Fixvia CVE List
- github.com/eclipse-ditto/ditto/commit/ee65b8cd9b7219401dcac2c25b79adc8cee4a5baFixvia CVE List
- gitlab.eclipse.org/security/cve-assignment/-/work_items/380Advisoryvia CVE List
- github.com/eclipse-ditto/ditto/security/advisories/GHSA-8767-g5qv-9jcfAdvisoryvia CVE List
- gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1207Advisoryvia CVE List
- eclipse.dev/ditto/release_notes_398.htmlReferencevia CVE List
- eclipse.dev/ditto/release_notes_3814.htmlReferencevia CVE List