arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.22301cs.CR
收藏

请出示我的凭证:大规模检测MCP服务器中的文件系统能力清洗

My Credentials, Please: Detecting Filesystem Capability Laundering in MCP Servers at Scale

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Santa Clara University(圣克拉拉大学);Auburn University at Montgomery(阿拉巴马大学蒙哥马利分校)

Zeqian Huang, Mingyue Tang, Aonan Guan, Qiming Sun, Pengzhou He

AI总结:

本研究针对MCP服务器的文件系统能力清洗漏洞,设计MCP-FSD工具,在21097台服务器中发现16.4%存在该漏洞,确认150个实例并披露13份安全公告含2个CVE。

摘要:

模型上下文协议(Model Context Protocol,MCP)规范了AI智能体调用外部工具的方式,MCP服务器通过包含名称、描述和参数模式的声明式契约暴露工具。在典型的本地部署中,客户端对工具调用的批准会赋予底层服务器进程广泛的主机文件系统权限,而非将其限制在声明的操作范围内。我们研究由此产生的漏洞类别——文件系统能力清洗,即攻击者操控的参数导致工具访问其声明契约和部署范围之外的敏感主机文件。我们从三个层面分析该能力缺口:服务器类别筛选(L1)、单工具契约分析(L2)以及可绕过的路径验证检查(L3)。我们设计了MCP-FSD,用于编目MCP服务器、推断每个工具的最小权限边界、在这些边界之外植入凭证夹具,并通过配对动态执行评估可利用性和沙箱隔离效果。在来自九个注册中心的21097台MCP服务器中,4806台经分类的服务器里有787台(占16.4%)尽管属于非文件系统功能分类,却具备文件系统能力。动态三案例验证在测试的沙箱策略下确认了150个易受攻击的实例。协调披露已产生13份安全公告,其中包括Anthropic的Git MCP服务器中的两个CVE。

英文摘要:

The Model Context Protocol (MCP) standardizes how AI agents invoke external tools. MCP servers expose tools through a declared contract consisting of a name, description, and argument schema. In typical local deployments, client-side approval of a tool call grants the underlying server process broad host filesystem permissions rather than restricting it to the declared operation. We study the resulting vulnerability class, filesystem capability laundering, where attacker-steered arguments cause a tool to access sensitive host files outside its declared contract and deployment scope. We analyze this capability gap across three layers: server-category screening (L1), per-tool contract analysis (L2), and bypassable path-validation checks (L3). We design MCP-FSD to catalog MCP servers, infer least-privilege boundaries per tool, plant credential fixtures outside those boundaries, and evaluate exploitability and sandbox containment via paired dynamic execution. Across 21,097 MCP servers from nine registries, 787 of 4,806 triaged servers (16.4%) exhibit filesystem capabilities despite non-filesystem functional classifications. Dynamic three-case validation confirms 150 vulnerable instances under tested sandbox policies. Coordinated disclosure yielded 13 security advisories, including two CVEs in Anthropic's Git MCP Server.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑