🇰🇷 한글 설명
Arcane 2.5.0 미만 버전에서 UpdateRegistry 및 TestRegistry 함수가 저장된 암호화 토큰을 유지하면서 레지스트리 URL을 변경할 수 있는 취약점이 존재합니다. 공격자가 권한을 이용해 레지스트리 URL을 악의적인 호스트로 변경하면, 시스템이 기존 토큰을 복호화하여 공격자에게 전송함으로써 컨테이너 레지스트리 인증 정보가 노출될 수 있습니다.
💡 쉬운 설명
도커 관리 도구인 Arcane에서 저장된 비밀번호를 유지한 채 접속 주소만 바꿀 수 있는 허점이 발견되었습니다. 이를 통해 해커가 가짜 주소를 설정하면 사용자의 중요한 로그인 정보가 해커에게 그대로 전달될 수 있습니다.
🇺🇸 원문 (English)
Arcane is an interface for managing Docker containers, images, networks, and volumes. Prior to 2.5.0, UpdateRegistry and TestRegistry in backend/api/services/container_registry_service.go allow the registry URL to change while preserving the stored encrypted token. When a holder of registries:update and registries:test repoints a generic registry URL without supplying a replacement token, TestRegistry decrypts the preserved token and RegistryLogin sends it to the attacker-controlled host because normalizeRegistryServerAddressInternal does not restrict the destination. This exposes the stored container-registry PAT or password and can enable image access or tampering. This issue is fixed in version 2.5.0.
📍 영향받는 시스템
Arcane version < 2.5.0
⚔️ 공격 벡터
권한을 가진 사용자가 레지스트리 URL을 공격자 제어 호스트로 변경하여 저장된 토큰을 탈취함
🛡️ 대응 방법
Arcane을 버전 2.5.0 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 2.5.0 미만이면 취약한 상태이며, 2.5.0 이상이면 안전합니다.
arcane --version 2>/dev/null | grep -E '2\.[5-9]\.|[3-9]\.' || echo 'Vulnerable or not installed'