🇰🇷 한글 설명
Google mcp-toolbox 0.3.0부터 1.4.0 버전의 HTTP 소스 및 도구 구성 요소에서 서버 측 요청 위조(SSRF) 취약점이 발견되었습니다. 내부 HTTP 클라이언트가 리다이렉션 경계를 안전하게 규제하지 못하고 대상 IP 검증이 누락되어, 공격자가 조작된 경로를 통해 내부 네트워크나 임의의 외부 엔드포인트로 요청을 유도할 수 있습니다.
💡 쉬운 설명
프로그램이 웹사이트를 방문할 때, 중간에 다른 주소로 이동하라는 명령을 받으면 검증 없이 그대로 따라가는 문제입니다. 이를 통해 해커는 프로그램이 원래 접근해서는 안 되는 내부 시스템에 몰래 접속하게 만들 수 있습니다.
🇺🇸 원문 (English)
A Server-Side Request Forgery (SSRF) vulnerability exists in the generic HTTP source and tool components of Google mcp-toolbox versions 0.3.0 through 1.4.0. While the toolbox implements baseline input sanitization for user-controlled parameters, the underlying HTTP client (internal/sources/http/http.go) fails to safely regulate request redirection boundaries. Specifically, the client is initialized without a restrictive CheckRedirect policy hook and lacks target IP validation. An attacker or a malicious data-driven prompt can supply a crafted path parameter that triggers an open redirect or a direct destination swap on the target backend, coercing the mcp-toolbox into blindly following the redirection and making unauthorized requests to internal or arbitrary external endpoints.
📍 영향받는 시스템
Google mcp-toolbox versions 0.3.0 through 1.4.0
⚔️ 공격 벡터
조작된 경로 파라미터를 입력하여 오픈 리다이렉션을 유도하거나 대상 목적지를 변경하는 방식
🛡️ 대응 방법
mcp-toolbox를 최신 버전으로 업데이트하거나, HTTP 클라이언트 설정에 엄격한 CheckRedirect 정책 및 IP 검증 로직을 적용해야 합니다.
🔧 검증 코드
출력된 버전이 0.3.0 이상 1.4.0 이하인지 확인합니다.
pip show mcp-toolbox 2>/dev/null | grep -E 'Version'