🇰🇷 한글 설명
Coolify의 GetLogs Livewire 컴포넌트에서 인증된 사용자가 임의의 명령을 실행할 수 있는 명령 주입 취약점이 발견되었습니다. 팀 멤버 권한을 가진 사용자가 $container 속성을 조작하여 관리되는 서버에서 루트 권한으로 명령을 실행할 수 있습니다. 이 문제는 4.0.0-beta.471 버전에서 수정되었습니다.
💡 쉬운 설명
서버 관리 도구인 Coolify에서 권한이 낮은 팀원이 악의적인 명령어를 입력해 서버 전체를 장악할 수 있는 보안 결함입니다. 로그를 확인하는 과정에서 입력값이 제대로 검사되지 않아 발생하는 문제입니다.
🇺🇸 원문 (English)
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.471, there is an authenticated command injection vulnerability in the GetLogs Livewire component which allows users with team membership (lowest privilege member role) to execute arbitrary commands as root on managed servers. The $container Livewire public property is interpolated directly into shell commands (docker logs, docker service logs) without sanitization, and can be modified by any client via the Livewire wire protocol because it lacks the #[Locked] attribute. This issue is fixed in version 4.0.0-beta.471.
📍 영향받는 시스템
Coolify 4.0.0-beta.471 미만 버전
⚔️ 공격 벡터
Livewire 프로토콜을 통해 $container 속성에 조작된 명령어를 주입하여 실행
🛡️ 대응 방법
Coolify를 4.0.0-beta.471 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력 결과에 4.0.0-beta.471 이상의 버전 정보가 포함되어 있는지 확인하십시오.
curl -s http://<coolify-instance>/api/version | grep -E '4.0.0-beta.471'