Eclipse Cheの認証連携に脆弱性、ログイン中の利用者のSCMトークンが第三者に登録されるおそれ
概要
Eclipse Cheでは、SCM連携のOAuth認証処理に3つの問題があり、リダイレクト先の書き換えやログイン中の利用者へのなりすましにつながるおそれがあります。影響するのは7.61.0から7.124.0までのバージョンで、7.125.0で修正されています。7.125.0以降への更新を優先し、それまでは不審なリンクを開かないようにしてください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Eclipse Cheでは、SCM連携のOAuth認証処理に3つの問題があり、リダイレクト先の書き換えやログイン中の利用者へのなりすましにつながるおそれがあります。影響するのは7.61.0から7.124.0までのバージョンで、7.125.0で修正されています。7.125.0以降への更新を優先し、それまでは不審なリンクを開かないようにしてください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| Eclipse FoundationEclipse Che |
7.61.0 以上 7.125.0 未満→ 7.125.0 |
7.125.0 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In Eclipse Che versions 7.61.0 through 7.124.0 three related defects in the SCM-OAuth flow, chain into a Medium-severity finding:
-
Open redirect (CWE-601) —
EmbeddedOAuthAPI.callback()and the OAuth1 callback issue307 Temporary Redirectto whatever URL was carried in theredirect_after_loginfield of the OAuthstateparameter. The value is fully attacker-controlled and never compared against an allow-list of permitted hosts. -
Missing CSRF nonce in OAuth
state(CWE-352) —OAuthAuthenticator.prepareState()builds thestateparameter solely by URL-encoding the original request's query string. No random nonce is bound to the user's session, so an attacker can pre-compute a callback URL carrying their own SCM authorizationcodeand have a logged-in victim open it.callback()then stores the attacker's SCM token under the victim's Che identity (personalAccessTokenManager.store(...)). -
Mutable field on a
@Singleton(CWE-362 / CWE-488) —EmbeddedOAuthAPIis@Singletonbut stores the per-requestredirect_after_loginvalue into the instance fieldprivate String redirectAfterLogin. Any user'sauthenticate()call overwrites the field for all concurrent users; theaccess_deniederror-path ofcallback()then redirects to the last writer's URL.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- web gitlab.eclipse.org
- web emo@eclipse.org
- web emo@eclipse.org
- web nvd.nist.gov
- web github.com