提出 #856633: mastergo-design mastergo-magic-mcp 0.2.0 Server-Side Request Forgery情報

タイトルmastergo-design mastergo-magic-mcp 0.2.0 Server-Side Request Forgery
説明A vulnerability was found in mastergo-design/mastergo-magic-mcp. The issue affects the MCP tool mcp__getComponentLink and the parameter url. The mcp__getComponentLink tool accepts a caller-controlled url string and forwards it directly to httpUtilInstance.request({ method: "GET", url }). The response body is returned to the MCP caller as text. The schema is a bare z.string() and does not enforce a scheme allow-list, host allow-list, internal address filtering, or validation that the URL came from a trusted MasterGo backend response. An MCP client that can invoke this tool may cause the MCP server process to make GET requests to arbitrary URLs reachable from the server host. Because the response body is returned to the caller, this is reflected SSRF rather than blind SSRF. Depending on deployment, this may expose localhost services, internal network services, or cloud metadata endpoints. Affected package: @mastergo/magic-mcp Affected tool: mcp__getComponentLink Affected parameter: url Affected file: src/tools/get-component-link.ts CWE: CWE-918 / CWE-200 / CWE-20 CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N Suggested severity: Medium Suggested remediation: validate url before making the request. Only allow expected schemes and trusted MasterGo documentation hosts, or require the URL to match a value previously returned by the trusted componentDocumentLinks API. Reject loopback, private, link-local, multicast, reserved, and cloud metadata addresses. Revalidate redirect targets before following redirects.
ソース⚠️ https://github.com/mastergo-design/mastergo-magic-mcp/issues/89
ユーザー Mcfly_Zhang (UID 98877)
送信2026年06月12日 04:16 (1 月 ago)
モデレーション2026年07月14日 17:40 (1 month later)
ステータス承諾済み
VulDBエントリ378329 [mastergo-design mastergo-magic-mcp 迄 0.2.0 mcp__getComponentLink get-component-link.ts z.string url 特権昇格]
ポイント20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!