🇰🇷 한글 설명
Dokploy 0.29.1 및 이전 버전의 Docker 파일 업로드 기능에서 명령 주입(Command Injection) 취약점이 발견되었습니다. 인증된 사용자가 파일을 업로드할 때 destinationPath 매개변수가 적절히 검증되지 않아, 셸 메타문자를 이용해 호스트 OS에서 임의의 명령을 실행할 수 있습니다.
💡 쉬운 설명
Dokploy라는 서비스를 사용하는 사람이 파일 이름을 조작하여 서버에 몰래 명령을 내릴 수 있는 보안 구멍이 발견되었습니다. 이를 통해 해커가 서버의 제어권을 완전히 뺏을 수 있어 매우 위험합니다.
🇺🇸 원문 (English)
Dokploy is a free, self-hostable Platform as a Service (PaaS). In 0.29.1 and earlier, a command injection vulnerability exists in the Docker file upload functionality. When an authenticated user uploads a file to a container, the destinationPath parameter is not properly sanitized and is directly interpolated into a shell command string. By including shell metacharacters such as ; or ", an attacker can escape the intended docker cp command and execute arbitrary OS commands on the Dokploy host.
📍 영향받는 시스템
Dokploy 0.29.1 및 그 이전 버전
⚔️ 공격 벡터
인증된 사용자가 파일 업로드 시 destinationPath 매개변수에 셸 메타문자(; 또는 ")를 삽입하여 공격
🛡️ 대응 방법
Dokploy를 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 0.29.1 이하인지 확인하여 취약 여부를 판단합니다.
curl -s http://<DOKPLOY_HOST>/version | grep -E '0\.[0-9]{2}\.[0-9]{1}'