ChatCLIの脆弱性、悪意あるMCPサーバーにBearerトークンを別リソースで再利用される
Summary
ChatCLIのMCP OAuthログイン処理に検証不備の脆弱性があり、悪意あるMCPサーバーが同じ認可サーバー上の別リソースを申告することで、利用者のBearerトークンを取得し、別リソースで再利用される可能性があります。影響は v1.159.0 以上 v1.215.2 未満で、v1.215.2 で修正されています。v1.215.2 以降へ更新してください。CVSSv3は8.0、CVSSv4は5.1です。
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.
ChatCLIのMCP OAuthログイン処理に検証不備の脆弱性があり、悪意あるMCPサーバーが同じ認可サーバー上の別リソースを申告することで、利用者のBearerトークンを取得し、別リソースで再利用される可能性があります。影響は v1.159.0 以上 v1.215.2 未満で、v1.215.2 で修正されています。v1.215.2 以降へ更新してください。CVSSv3は8.0、CVSSv4は5.1です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| diillsonChatCLI |
≥ v1.159.0, < v1.215.2→ v1.215.2 |
v1.215.2 |
Original description The description as published by the source.
ChatCLI before v1.215.2 contains an improper validation vulnerability in the MCP OAuth login flow that uses server-supplied Protected Resource Metadata as the resource indicator without checking it matches the configured server URL. A malicious MCP server can declare another resource on the same authorization server, obtain the user's bearer token for it, and replay that token against the other resource.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com