🇰🇷 한글 설명
Agentic-Flow AI 에이전트 오케스트레이션 플랫폼의 MCP 서버 도구에서 발생하는 취약점입니다. 공격자가 제어 가능한 도구 매개변수가 execSync() 함수에 직접 삽입되어, MCP 서버 사용자의 권한으로 임의의 OS 명령어를 실행할 수 있습니다.
💡 쉬운 설명
AI 에이전트를 관리하는 프로그램이 사용자의 입력을 제대로 검사하지 않고 시스템 명령어로 바로 실행하는 문제입니다. 이를 통해 해커가 컴퓨터에 몰래 명령을 내려 시스템을 장악할 수 있습니다.
🇺🇸 원문 (English)
Agentic-Flow is an AI agent orchestration platform. Prior to 2.0.14, agentic-flow MCP server tools in src/mcp/standalone-stdio.ts, src/mcp/fastmcp/servers/claude-flow-sdk.ts, src/mcp/fastmcp/servers/stdio-full.ts, src/mcp/fastmcp/servers/http-streaming-updated.ts, src/mcp/fastmcp/servers/http-sse.ts, src/mcp/fastmcp/servers/poc-stdio.ts, src/mcp/fastmcp/tools/agent/{execute,list,parallel}.ts, src/mcp/fastmcp/tools/swarm/orchestrate.ts, and src/mcp/fastmcp/tools/hooks/pretrain.ts interpolated attacker-influenceable tool parameters such as agent, task, name, language, and agentdb directly into shell command strings passed to execSync(), allowing arbitrary OS command execution with the privileges of the MCP server user. This issue is fixed in version 2.0.14.
📍 영향받는 시스템
Agentic-Flow 버전 2.0.14 미만
⚔️ 공격 벡터
조작된 도구 매개변수(agent, task, name 등)를 통해 쉘 명령어를 주입하는 방식
🛡️ 대응 방법
Agentic-Flow를 최신 버전인 2.0.14 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 2.0.14 미만이면 취약한 상태입니다.
npm list agentic-flow 2>/dev/null | grep -E 'agentic-flow@'