LibreChatの共有エージェント編集で所有者のAPIキーが持ち出される脆弱性
Summary
編集権限を持つ共同作成者が、アクションの接続先を攻撃者の用意したホストに変更できる脆弱性です。その後のツール実行で、所有者のAPIキーなどの認証情報がそのホストに送信されるおそれがあります。影響するのは0.8.7より前のLibreChatで、0.8.7で修正されています。すでに0.8.7以降へ更新してください。
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.
編集権限を持つ共同作成者が、アクションの接続先を攻撃者の用意したホストに変更できる脆弱性です。その後のツール実行で、所有者のAPIキーなどの認証情報がそのホストに送信されるおそれがあります。影響するのは0.8.7より前のLibreChatで、0.8.7で修正されています。すでに0.8.7以降へ更新してください。
Original description The description as published by the source.
LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.7, POST /api/agents/actions/:agent_id in api/server/routes/agents/actions.js loads an existing action with owner credentials and merges editor-controlled metadata.domain and metadata.raw_spec while preserving metadata.api_key and related OAuth client secrets. A collaborator with EDIT permission can repoint an action to an attacker-controlled host, and a later tool invocation decrypts and sends the retained owner credential to that destination. This issue is fixed in version 0.8.7.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com
- web librechat.ai