🇰🇷 한글 설명
Coolify의 Nixpacks 빌드 팩에서 사용자 정의 빌드 매개변수를 처리할 때 발생하는 인증된 호스트 원격 코드 실행(RCE) 취약점입니다. 사용자가 제공한 install_command가 쉘 명령어로 직접 결합되어 실행되므로, 공격자가 빌드 컨텍스트를 탈출하여 호스트 권한으로 임의의 명령을 실행할 수 있습니다.
💡 쉬운 설명
서버 관리 도구인 Coolify에서 빌드 설정을 조작하여 해커가 서버 전체를 제어할 수 있는 보안 구멍이 발견되었습니다. 공격자가 입력한 명령어가 검증 없이 서버에서 바로 실행되기 때문에 발생합니다.
🇺🇸 원문 (English)
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.470, a critical Authenticated Host Remote Code Execution (RCE) vulnerability was discovered in Coolify. The flaw resides in the handling of user-defined build parameters for the Nixpacks build pack. Specifically, the install_command provided by a user is directly concatenated into a shell command string that is executed on the deployment host during the building phase. An attacker can leverage this to escape the intended build context and execute arbitrary commands with host-level privileges. This vulnerability is fixed in 4.0.0-beta.470.
📍 영향받는 시스템
Coolify 4.0.0-beta.470 미만 버전
⚔️ 공격 벡터
인증된 사용자가 Nixpacks 빌드 설정의 install_command 매개변수에 악성 쉘 명령어를 삽입하여 공격
🛡️ 대응 방법
Coolify를 4.0.0-beta.470 이상의 최신 버전으로 업데이트
🔧 검증 코드
출력 결과에 4.0.0-beta.470 이상의 버전 정보가 포함되어 있는지 확인
curl -s http://localhost:8000/api/version | grep -E '4.0.0-beta.470'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
IBM WebSphere Application Server