🇰🇷 한글 설명
Red Hat docker 패키지 1.5.0-28 이전 버전에서 --add-registry 옵션 사용 시 HTTPS 연결 실패 시 HTTP로 폴백되어, 중간자 공격자가 통신을 가로채 인증 정보와 이미지 데이터를 탈취할 수 있는 다운그레이드 공격 취약점이다. CVE-2014-5277 수정 회귀로 인한 보안 결함이다.
💡 쉬운 설명
Docker가 안전한 HTTPS 연결을 시도하다가 실패하면 보안 없는 HTTP로 자동 전환되어, 공격자가 비밀번호와 프로그램 데이터를 쉽게 탈취할 수 있다. 네트워크 중간에서 HTTPS 차단만으로 이 취약점을 악용 가능하다.
🇺🇸 원문 (English)
The Red Hat docker package before 1.5.0-28, when using the --add-registry option, falls back to HTTP when the HTTPS connection to the registry fails, which allows man-in-the-middle attackers to conduct downgrade attacks and obtain authentication and image data by leveraging a network position between the client and the registry to block HTTPS traffic. NOTE: this vulnerability exists because of a CVE-2014-5277 regression.
📍 영향받는 시스템
Red Hat docker 1.5.0-28 이전 모든 버전
⚔️ 공격 벡터
네트워크상에서 HTTPS 트래픽을 차단하여 HTTP 폴백 강제 후 중간자 공격으로 레지스트리 통신 가로채기
🛡️ 대응 방법
docker를 1.5.0-28 이상으로 업그레이드 또는 --add-registry 옵션 사용 금지
🔧 검증 코드
출력이 'Patched'면 안전한 버전, 'Vulnerable'면 1.5.0-28 미만으로 즉시 업그레이드 필요
docker --version | awk '{print $3}' | grep -qE '^(1\.[5-9]|[2-9]\.)' && echo 'Patched' || echo 'Vulnerable'