🇰🇷 한글 설명
MindsDB Minds Platform 26.1.0 및 이전 버전에서 인증되지 않은 공격자가 임의의 OS 명령을 실행할 수 있는 원격 코드 실행 취약점이 발견되었습니다. 공격자는 보호되지 않은 API 엔드포인트를 통해 Anton 에이전트의 scratchpad 도구에 조작된 프롬프트를 전달하여 샌드박싱 없이 Python 코드를 실행할 수 있습니다. 이를 통해 SSH 키, 저장된 자격 증명 및 환경 비밀 정보에 접근할 수 있는 심각한 위험이 존재합니다.
💡 쉬운 설명
해커가 로그인 없이도 프로그램에 특수한 명령을 보내 컴퓨터를 마음대로 조종할 수 있는 매우 위험한 보안 구멍입니다. 이를 통해 해커는 사용자의 비밀번호나 중요한 파일을 훔쳐갈 수 있습니다.
🇺🇸 원문 (English)
MindsDB Minds Platform version 26.1.0 and earlier contains an unauthenticated remote code execution vulnerability that allows unauthenticated attackers to execute arbitrary OS commands by submitting crafted prompts to the unprotected POST /api/v1/responses/ endpoint, which reaches the Anton agent's scratchpad tool that calls exec() on attacker-influenced Python source without sandboxing. Attackers can first configure their own LLM API key through the unauthenticated PUT /api/v1/settings/ endpoint, then POST a prompt directing the agent to invoke the scratchpad tool with arbitrary Python code, achieving full OS command execution as the user running the desktop application and enabling access to SSH keys, stored credentials, and environment secrets.
📍 영향받는 시스템
MindsDB Minds Platform version 26.1.0 and earlier
⚔️ 공격 벡터
인증되지 않은 상태에서 API 엔드포인트(/api/v1/settings/, /api/v1/responses/)를 통해 조작된 프롬프트와 Python 코드를 주입하여 공격
🛡️ 대응 방법
MindsDB Minds Platform을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
명령어 결과에 취약한 버전 번호가 출력되면 해당 시스템은 보안 업데이트가 필요한 상태입니다.
curl -s http://localhost:PORT/api/v1/version | grep -E '26.1.0|26.0.0'