Eclipse Dittoに認証回避の脆弱性、修正版あり
Summary
Eclipse Ditto 3.9.8までのgatewayで、認証なしにポリシー上の任意の主体になりすませる脆弱性が公表されました。Helmチャートの既定構成で動かしている組織は、3.8.15または3.9.9以降へ更新し、更新まで global.jwtOnly: true を設定してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Eclipse Ditto 3.9.8までのgatewayで、認証なしにポリシー上の任意の主体になりすませる脆弱性が公表されました。Helmチャートの既定構成で動かしている組織は、3.8.15または3.9.9以降へ更新し、更新まで global.jwtOnly: true を設定してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Eclipse FoundationEclipse Ditto |
1.1.0 – 3.9.8→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- web gitlab.eclipse.org
- web gitlab.eclipse.org