🇰🇷 한글 설명
Docker Commons Plugin에서 권한 검증 없이 credential ID 목록을 노출하는 취약점입니다. Overall/Read 권한만으로 유효한 credential ID를 열람할 수 있어 다른 취약점과 결합하여 credential 탈취에 악용될 수 있습니다.
💡 쉬운 설명
Jenkins의 Docker 플러그인이 누구나 credential 목록을 볼 수 있게 노출했습니다. 이를 통해 공격자가 다른 방법으로 실제 credential을 탈취할 수 있습니다.
🇺🇸 원문 (English)
Docker Commons Plugin provides a list of applicable credential IDs to allow users configuring a job to select the one they'd like to use to authenticate with a Docker Registry. This functionality did not check permissions, allowing any user with Overall/Read permission to get a list of valid credentials IDs. Those could be used as part of an attack to capture the credentials using another vulnerability.
📍 영향받는 시스템
Docker Commons Plugin 1.6 이전 버전
⚔️ 공격 벡터
Overall/Read 권한이 있는 사용자가 API 또는 UI를 통해 credential ID 목록에 접근
🛡️ 대응 방법
Docker Commons Plugin을 1.6 이상으로 업그레이드하여 credential 목록 조회에 권한 검증 추가
🔧 검증 코드
조회된 버전이 1.6 이상이면 패치됨, 1.6 미만이면 업그레이드 필요
curl -s http://jenkins-server/pluginManager/api/json | jq '.plugins[] | select(.shortName=="docker-commons") | {shortName, version}'