LibreChatに認証を回避され、アカウントを乗っ取られる脆弱性
概要
0.7.0から0.8.6より前のLibreChatに、登録前にアカウントを乗っ取られる脆弱性が見つかりました。ローカル登録が有効で、ソーシャルログインが1つ以上設定されている環境が対象です。修正版の0.8.6で対応してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
0.7.0から0.8.6より前のLibreChatに、登録前にアカウントを乗っ取られる脆弱性が見つかりました。ローカル登録が有効で、ソーシャルログインが1つ以上設定されている環境が対象です。修正版の0.8.6で対応してください。
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. From 0.7.0 until 0.8.6, when local registration is enabled and at least one social provider is configured, POST /api/auth/register passes an unparsed request object into api/server/services/AuthService.js, allowing an unauthenticated attacker to persist a forged provider value for a known victim email. The api/strategies/socialLogin.js email-fallback path then accepts the planted record when the victim signs in because it compares the stored provider name without requiring the provider subject identifier. The victim OAuth session and the attacker local-password session become bound to the same user record, giving the attacker persistent read and write access to data created by the victim. The first-user administrator role is an additional conditional impact only on a fresh deployment. This issue is fixed in version 0.8.6.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com
- web librechat.ai