漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
chrome-devtools-mcp: validatePath() does not canonicalize symlinks before enforcing roots
Vulnerability Description
Chrome DevTools for agents (chrome-devtools-mcp) lets your coding agent control and inspect a live Chrome browser. From 0.24.0 until 1.1.0, McpContext.validatePath() enforces workspace roots by checking whether path.resolve(filePath) textually falls under one of the configured root paths. path.resolve() does not canonicalize symbolic links. As a result, a symlink inside a configured workspace root can point to a file outside that root, pass validation, and then be followed by downstream file read/write operations. This bypass applies even when the MCP client correctly declares the roots capability with a non-empty list. It is separate from the documented legacy behavior where missing roots capability allows all paths. The practical impact is a workspace-boundary bypass. In the write direction, filePath-writing tools can overwrite out-of-root files through an in-root symlink. In the read direction, upload_file can read through the symlink and send the file to the currently selected web page. This vulnerability is fixed in 1.1.0.
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
ChromeDevTools Chrome DevTools for agents 路径遍历漏洞
Vulnerability Description
ChromeDevTools Chrome DevTools for agents是ChromeDevTools组织的一款Chrome开发工具软件。 ChromeDevTools Chrome DevTools for agents 0.24.0版本至1.1.0之前版本存在安全漏洞,该漏洞源于McpContext.validatePath()通过path.resolve()检查路径时未对符号链接进行规范化处理,导致工作区内符号链接可指向外部文件并绕过验证,进而被下游文件读写操作利用,产生工作区边界绕过影响
CVSS Information
N/A
Vulnerability Type
N/A