Mark3labs 的 mcp-go 在 v1.2.1 之前版本中存在一个 OAuthHandler.fetchServerMetadata 函数中的验证不当漏洞。该漏洞允许恶意的 MCP 服务器通过在“well-known"元数据中声明任意资源,从而获取其他资源的访问令牌。攻击者可以将不同的 MCP 服务器声明为 RFC 8707 中定义的资源指示符(resource indicator),诱使授权服务器生成令牌,随后攻击者将这些令牌重放(replay)到目标资源上,以实现未授权访问。
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC