🇰🇷 한글 설명
Kargo의 http/http-download 프로모션 단계에서 SSRF 취약점으로 인해 클라우드 메타데이터 엔드포인트(169.254.169.254)에 대한 공격이 가능합니다. 인증된 공격자가 악의적인 Promotion 매니페스트를 제출하면 IAM 자격증명 등 민감한 데이터를 탈취할 수 있습니다.
💡 쉬운 설명
Kargo 도구가 내부 클라우드 시스템과 통신할 때 악의적인 요청을 보낼 수 있게 하는 보안 결함입니다. 공격자가 이를 악용하여 클라우드 접근 권한을 탈취할 수 있습니다.
🇺🇸 원문 (English)
Kargo manages and automates the promotion of software artifacts. In versions 1.4.0 through 1.6.3, 1.7.0-rc.1 through 1.7.8, 1.8.0-rc.1 through 1.8.11, and 1.9.0-rc.1 through 1.9.4, the http and http-download promotion steps allow Server-Side Request Forgery (SSRF) against link-local addresses, most critically the cloud instance metadata endpoint (169.254.169.254), enabling exfiltration of sensitive data such as IAM credentials. These steps provide full control over request headers and methods, rendering cloud provider header-based SSRF mitigations ineffective. An authenticated attacker with permissions to create/update Stages or craft Promotion resources can exploit this by submitting a malicious Promotion manifest, with response data retrievable via Promotion status fields, Git repositories, or a second http step. This issue has been fixed in versions 1.6.4, 1.7.9, 1.8.12 and 1.9.5.
📍 영향받는 시스템
Kargo 1.4.0-1.6.3, 1.7.0-rc.1-1.7.8, 1.8.0-rc.1-1.8.11, 1.9.0-rc.1-1.9.4
⚔️ 공격 벡터
인증된 공격자가 악의적인 Promotion 매니페스트를 제출하여 SSRF를 통해 링크-로컬 주소 및 클라우드 메타데이터 엔드포인트 접근
🛡️ 대응 방법
Kargo를 1.6.4, 1.7.9, 1.8.12 또는 1.9.5 이상 버전으로 업그레이드
🔧 검증 코드
설치된 Kargo 버전을 확인하여 1.6.4, 1.7.9, 1.8.12, 1.9.5 미만이면 즉시 업그레이드 필요
dpkg -l kargo 2>/dev/null | grep kargo || rpm -q kargo 2>/dev/null