🇰🇷 한글 설명
GitHub Kanban MCP Server 0.3.0 버전의 add_comment 도구가 Node.js exec API를 사용하여 gh 명령어를 실행할 때, 신뢰할 수 없는 사용자 입력을 제대로 검증하지 않아 command injection 공격에 취약합니다. 공격자는 이를 통해 서버에서 임의의 명령어를 실행할 수 있으며, 현재 공식 패치는 없는 상태입니다.
💡 쉬운 설명
GitHub 할일 관리 프로그램에서 사용자 입력을 안전하게 처리하지 않아 악의적인 명령어를 삽입할 수 있습니다. 공격자는 이를 이용해 서버에서 원하는 명령어를 실행할 수 있습니다.
🇺🇸 원문 (English)
GitHub Kanban MCP Server is a Model Context Protocol (MCP) server for managing GitHub issues in Kanban board format and streamlining LLM task management. Version 0.3.0 of the MCP Server is written in a way that is vulnerable to command injection vulnerability attacks as part of some of its MCP Server tool definition and implementation. The MCP Server exposes the tool `add_comment` which relies on Node.js child process API `exec` to execute the GitHub (`gh`) command, is an unsafe and vulnerable API if concatenated with untrusted user input. As of time of publication, no known patches are available.
📍 영향받는 시스템
GitHub Kanban MCP Server v0.3.0
⚔️ 공격 벡터
add_comment 기능의 사용자 입력에 shell 명령어를 삽입하여 서버에서 임의 명령어 실행
🛡️ 대응 방법
0.3.0 버전 사용 중단 및 공식 패치 발표 시 업그레이드, 또는 add_comment 기능 비활성화
🔧 검증 코드
github-kanban-mcp 패키지가 설치되어 있으면 버전 확인 필요; 0.3.0이면 취약함
npm list 2>/dev/null | grep -i 'kanban\|github-kanban' | head -1