🇰🇷 한글 설명
Dokploy 0.29.13 미만 버전에서 데이터베이스 서비스 배포 시 사용자 제어 가능한 dockerImage 필드가 따옴표 없이 쉘 명령어로 전달되는 취약점이 존재합니다. 이로 인해 원격 서버에서 임의의 명령어가 실행될 수 있는 명령 주입(Command Injection) 공격이 가능합니다.
💡 쉬운 설명
데이터베이스를 설치하는 과정에서 공격자가 입력한 악성 명령어가 시스템에서 그대로 실행될 수 있는 보안 결함입니다. 이를 통해 해커가 서버의 제어권을 완전히 탈취할 수 있습니다.
🇺🇸 원문 (English)
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the mariadb.ts, mongo.ts, mysql.ts, postgres.ts, redis.ts, and libsql.ts Dokploy database service deployment functions pass user-controlled dockerImage fields unquoted into docker pull ${dockerImage} shell commands on the remote-server code path. This vulnerability is fixed in 0.29.13.
📍 영향받는 시스템
Dokploy 0.29.13 미만 모든 버전
⚔️ 공격 벡터
데이터베이스 서비스 설정 중 dockerImage 필드에 악성 쉘 명령어를 삽입하여 원격 서버를 공격
🛡️ 대응 방법
Dokploy를 최신 버전인 0.29.13 이상으로 즉시 업데이트하십시오.
🔧 검증 코드
명령어 실행 결과로 버전 번호가 출력되면 취약한 버전이 설치되어 있는 상태입니다.
docker exec $(docker ps -q --filter ancestor=dokploy/dokploy) dokploy --version 2>/dev/null | grep -E '0\.(29\.(1[3-9]|[3-9][0-9])|[4-9][0-9]{2})'