🇰🇷 한글 설명
Flowise 3.0.6 미만 버전의 Custom MCP 기능에서 샌드박스 처리가 되지 않은 원격 코드 실행(RCE) 취약점이 발견되었습니다. 공격자가 특정 헤더를 포함한 조작된 JSON 페이로드를 전송하면 임의의 OS 명령을 실행하여 서버를 완전히 장악할 수 있습니다.
💡 쉬운 설명
해커가 특수한 명령어를 담은 메시지를 보내면, Flowise 서버가 이를 그대로 실행하여 컴퓨터를 마음대로 조종할 수 있는 위험한 결함입니다. 인증 절차가 약한 점을 악용하여 서버 전체를 해킹할 수 있습니다.
🇺🇸 원문 (English)
Flowise before 3.0.6 (affected versions 2.2.7-patch.1 and earlier) contains an unsandboxed remote code execution vulnerability in the Custom MCP feature, which is designed to execute OS commands such as launching local MCP servers. Because Flowise's authentication and authorization model is minimal and lacks role-based access control, and the default installation runs without authentication unless FLOWISE_USERNAME and FLOWISE_PASSWORD are set, an attacker can send a crafted JSON payload with the header 'x-request-from: internal' to the /api/v1/node-load-method/customMCP endpoint to execute arbitrary OS commands, resulting in complete compromise of the platform container or server.
📍 영향받는 시스템
Flowise 2.2.7-patch.1 및 그 이전 버전 (3.0.6 미만)
⚔️ 공격 벡터
/api/v1/node-load-method/customMCP 엔드포인트에 'x-request-from: internal' 헤더와 조작된 JSON 페이로드 전송
🛡️ 대응 방법
Flowise를 최신 버전인 3.0.6 이상으로 업데이트하고, FLOWISE_USERNAME 및 FLOWISE_PASSWORD를 설정하여 인증을 강화하십시오.
🔧 검증 코드
출력된 버전 번호가 3.0.6 미만인지 확인하여 취약 여부를 판단합니다.
npm list flowise | grep flowise