🇰🇷 한글 설명
Google mcp-toolbox 1.4.0 버전의 Google OAuth 제공자 구성 요소에서 인증 우회 및 대상 혼동 취약점이 발견되었습니다. mcpEnabled가 활성화된 상태에서 audience 또는 clientId가 명시되지 않으면, ValidateMCPAuth 파이프라인이 대상 검증을 건너뛰어 다른 서비스용 토큰으로도 접근이 가능해집니다.
💡 쉬운 설명
구글 로그인을 사용할 때, 원래 허용되지 않은 다른 앱의 로그인 정보로도 시스템에 몰래 들어올 수 있는 보안 구멍이 있습니다. 이로 인해 권한이 없는 사용자가 중요한 데이터나 도구에 접근할 위험이 있습니다.
🇺🇸 원문 (English)
An authentication bypass and audience confusion vulnerability exists in the Google OAuth provider component of Google mcp-toolbox version 1.4.0. When a Google authService is initialized with mcpEnabled: true but lacks an explicitly defined audience or clientId, the ValidateMCPAuth pipeline for opaque tokens skips audience validation entirely. As a result, the toolbox will accept any valid Google OAuth access token—even those minted for unrelated ecosystem applications—granting unauthorized clients access to protected tools and data backends.
📍 영향받는 시스템
Google mcp-toolbox version 1.4.0
⚔️ 공격 벡터
유효하지만 다른 서비스용으로 발급된 Google OAuth 액세스 토큰을 사용하여 인증을 우회함
🛡️ 대응 방법
authService 초기화 시 audience 또는 clientId를 명시적으로 정의하도록 설정을 수정함
🔧 검증 코드
출력된 버전이 1.4.0인지 확인하여 취약한 버전 여부를 판단함
pip show mcp-toolbox 2>/dev/null | grep -E 'Version'