🇰🇷 한글 설명
Dokploy 0.29.13 미만 버전에서 발생하는 취약점으로, git clone 명령어를 실행할 때 사용자 입력값이 적절히 검증되지 않아 발생합니다. 인증된 사용자가 악의적인 Git URL과 브랜치 이름을 설정하여 Dokploy 호스트에서 임의의 운영체제 명령어를 실행할 수 있습니다.
💡 쉬운 설명
Dokploy라는 서비스를 사용하는 사람이 가짜 주소를 입력하면, 서버가 이를 명령어로 착각하여 해커가 원하는 동작을 수행하게 됩니다. 이를 통해 해커가 서버의 제어권을 완전히 뺏을 수 있습니다.
🇺🇸 원문 (English)
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, cloneGitRepository in packages/server/src/utils/providers/git.ts interpolates customGitUrl and customGitBranch into a git clone command passed to execAsync or execAsyncRemote, allowing an authenticated user with application access to execute arbitrary operating system commands on the Dokploy host by setting a malicious custom Git URL and triggering deployment. This issue is fixed in version 0.29.13.
📍 영향받는 시스템
Dokploy 버전 0.29.13 미만
⚔️ 공격 벡터
인증된 사용자가 악의적인 customGitUrl 및 customGitBranch를 설정하여 배포를 트리거함
🛡️ 대응 방법
Dokploy를 최신 버전인 0.29.13 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 0.29.13보다 낮으면 취약한 상태입니다.
npm list -g dokploy | grep -E 'dokploy@'