🇰🇷 한글 설명
Docker Hub의 계정-조직 전환 기능에서 발생하는 권한 할당 오류로 인해, 인증된 공격자가 자신이 제어하는 개인 액세스 토큰(PAT)을 다른 사용자의 계정으로 재할당할 수 있습니다. 이 과정에서 토큰 비밀값이 변경되거나 취소되지 않아, 공격자는 해당 토큰을 사용하여 대상 사용자의 권한으로 이미지를 가져오거나, 푸시하거나, 삭제할 수 있습니다.
💡 쉬운 설명
내 열쇠를 다른 사람의 집 문에 그대로 쓸 수 있게 되는 보안 결함입니다. 공격자가 자신의 열쇠를 다른 사용자의 권한으로 바꿔치기하여, 그 사용자의 저장소에 있는 파일을 마음대로 조작할 수 있습니다.
🇺🇸 원문 (English)
An Incorrect Privilege Assignment vulnerability in Docker Hub's account-to-organization conversion feature allowed an authenticated attacker to reassign a personal access token (PAT) they controlled to another Docker Hub user without rotating or revoking the token secret. The unchanged PAT then authenticated to the registry as the recipient and could pull, push, or delete images, within its scopes, in repositories accessible to that user, including organization repositories.
📍 영향받는 시스템
Docker Hub account-to-organization conversion feature
⚔️ 공격 벡터
인증된 공격자가 계정 전환 기능을 악용하여 기존 PAT를 타인에게 재할당
🛡️ 대응 방법
Docker Hub의 보안 패치 적용 및 기존에 사용 중인 모든 개인 액세스 토큰(PAT)의 재발급(Rotation) 또는 삭제
🔧 검증 코드
현재 사용 중인 토큰 목록을 확인하고, 의도하지 않은 토큰이 타인에게 공유되었는지 또는 권한이 비정상적으로 유지되고 있는지 점검합니다.
curl -s https://hub.docker.com/v2/users/me/tokens | grep -i 'token_id'