漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
mcp-go before 0.56.0 Missing Host Header Validation Enables DNS Rebinding
Vulnerability Description
mcp-go accepted requests on its HTTP transports without checking the Host header. StreamableHTTPServer.ServeHTTP in server/streamable_http.go and SSEServer.ServeHTTP in server/sse.go served any request arriving over a loopback connection regardless of the host it named, and the SSE transport's cross-origin default allowed any origin. A page in a browser could therefore point a name it controlled at the loopback address and reach a server listening there, invoking tools and reading resources that the server exposed on the assumption that only local software could connect. No release before 0.56.0 validated the header on either transport; 0.56.0 adds server/http_localhost.go, which rejects a loopback-bound request carrying a host that is not a loopback name, and wires it into both transports.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Vulnerability Type
源验证错误
Vulnerability Title
Mark III Labs MCP-Go 输入验证错误漏洞
Vulnerability Description
Mark III Labs MCP-Go是Mark III Labs组织的一个模型上下文协议的Go语言实现库。 Mark III Labs MCP-Go 0.56.0之前版本存在输入验证错误漏洞,该漏洞源于HTTP传输未检查Host标头,可能导致浏览器页面将受控名称指向回环地址并访问服务器,调用工具和读取资源。
CVSS Information
N/A
Vulnerability Type
N/A