🇰🇷 한글 설명
Coolify 4.0.0-beta.474 미만 버전에서 데이터베이스 자격 증명 필드에 대한 쉘 안전성 검증이 누락되었습니다. 입력된 값이 이스케이프 처리 없이 Docker Compose YAML 명령에 직접 삽입되어 명령 주입 공격의 위험이 있습니다.
💡 쉬운 설명
데이터베이스 비밀번호를 설정할 때 특수 문자를 이용해 악성 명령어를 숨겨 넣을 수 있는 보안 약점이 있습니다. 이로 인해 공격자가 서버에 원치 않는 명령을 실행할 위험이 있습니다.
🇺🇸 원문 (English)
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.474, database credential fields (redis_password, keydb_password, dragonfly_password, clickhouse_admin_user, clickhouse_admin_password, postgres_user, mysql_user) are validated only as 'string' at the API layer, with zero shell-safety checks. These values are then interpolated directly into Docker Compose YAML command: strings without any escaping. This issue is fixed in version 4.0.0-beta.474.
📍 영향받는 시스템
Coolify 4.0.0-beta.474 미만 모든 버전
⚔️ 공격 벡터
데이터베이스 자격 증명 필드(예: redis_password)에 쉘 메타문자를 포함한 값을 입력하여 명령 주입(Command Injection) 수행
🛡️ 대응 방법
Coolify를 4.0.0-beta.474 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력 결과에 4.0.0-beta.474 이상의 버전 정보가 포함되어 있는지 확인하십시오.
curl -s http://<your-coolify-instance>/api/version | grep -E '4\.0\.0-beta\.474'