🇰🇷 한글 설명
Dokploy 0.29.13 미만 버전에서 발생하는 취약점으로, createCommand() 함수가 서비스 이름과 설정을 쉘 명령어로 변환하는 과정에서 발생합니다. 악의적으로 조작된 compose 이름이나 서비스 정의를 배포할 경우, 쉘 메타문자가 명령 구분자로 해석되어 Docker 호스트에서 임의의 명령이 실행될 수 있습니다.
💡 쉬운 설명
Dokploy라는 프로그램을 사용할 때, 이름에 특수 문자를 섞어 넣으면 시스템이 이를 명령어로 착각하여 실행해버리는 문제입니다. 이를 통해 해커가 서버에 몰래 명령을 내려 시스템을 장악할 수 있습니다.
🇺🇸 원문 (English)
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, the createCommand() function constructs shell commands by interpolating compose service names and configuration into bash command strings. When a compose with a maliciously crafted name or service definition is deployed, the shell metacharacters are interpreted as command separators, allowing arbitrary command execution on the Docker host. This vulnerability is fixed in 0.29.13.
📍 영향받는 시스템
Dokploy versions prior to 0.29.13
⚔️ 공격 벡터
악의적으로 조작된 Docker Compose 서비스 이름 또는 설정을 통한 명령 주입(Command Injection)
🛡️ 대응 방법
Dokploy를 최신 버전인 0.29.13 이상으로 업데이트하십시오.
🔧 검증 코드
명령어 결과에 0.29.13 이상의 버전 번호가 나타나면 취약점이 해결된 상태입니다.
curl -s http://<your-dokploy-host>/version | grep -E '0.29.13'