🇰🇷 한글 설명
Jenkins Git Plugin이 form validation 중 사용자가 지정한 Git 저장소에 연결할 때, 공격자가 악의적으로 조작한 Jenkins URL을 통해 개발자를 유도하면 Git 클라이언트의 자격증명(username/password)이 공격자 제어 서버로 전송되는 취약점입니다.
💡 쉬운 설명
Jenkins에서 Git 저장소 설정을 검증할 때 자격증명이 실수로 공격자 서버에 전송될 수 있습니다. 공격자는 링크를 통해 개발자를 속여 로그인 정보를 빼낼 수 있습니다.
🇺🇸 원문 (English)
Git Plugin connects to a user-specified Git repository as part of form validation. An attacker with no direct access to Jenkins but able to guess at a username/password credentials ID could trick a developer with job configuration permissions into following a link with a maliciously crafted Jenkins URL which would result in the Jenkins Git client sending the username and password to an attacker-controlled server.
📍 영향받는 시스템
Jenkins Git Plugin (특정 버전 미만)
⚔️ 공격 벡터
악의적으로 조작된 Jenkins URL 링크 유도를 통한 credentials 탈취
🛡️ 대응 방법
Jenkins를 최신 버전으로 업데이트하고, Git Plugin을 최신 버전으로 업그레이드
🔧 검증 코드
Jenkins 플러그인 목록에서 Git 플러그인 버전을 확인하고 보안 공지의 권장 버전과 비교하여 취약한 버전 여부 판단
curl -s http://localhost:8080/pluginManager/plugins | grep -i 'git' | head -1