AWS API MCP Serverの認証を回避される脆弱性 別アプリのトークンで操作可能
Summary
AWS API MCP ServerのOAuth認証モードに、アクセストークンの対象先(オーディエンス)を検証しない脆弱性が見つかりました。同じ認証基盤で別のアプリ向けに発行されたトークンを使うと、サーバーに設定されたAWS認証情報でAWSの操作を実行されるおそれがあります。影響を受けるのは1.3.0以上1.6.0未満で、1.6.0に更新するとともに、サーバーに想定するトークンの対象先かクライアントIDを設定してください。
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.
AWS API MCP ServerのOAuth認証モードに、アクセストークンの対象先(オーディエンス)を検証しない脆弱性が見つかりました。同じ認証基盤で別のアプリ向けに発行されたトークンを使うと、サーバーに設定されたAWS認証情報でAWSの操作を実行されるおそれがあります。影響を受けるのは1.3.0以上1.6.0未満で、1.6.0に更新するとともに、サーバーに想定するトークンの対象先かクライアントIDを設定してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| AWSaws-api-mcp-server |
≥ 1.3.0, < 1.6.0→ 1.6.0 |
1.6.0 |
Original description The description as published by the source.
Missing token audience validation in the OAuth authentication mode of AWS API MCP Server before version 1.6.0 might allow local users to run AWS operations with the server's configured AWS credentials via an access token issued to another application by the same identity provider.
To remediate this issue, users should upgrade to version 1.6.0 and configure the expected token audience or client ID for the server.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- AWS aws.amazon.com
- web pypi.org
- web github.com
- web aws.amazon.com