🇰🇷 한글 설명
Jenkins Credentials Binding Plugin 720.v3f6decef43ea 이전 버전에서 파일 이름 검증 부재로 인해 공격자가 노드 파일시스템의 임의 위치에 파일을 작성할 수 있는 경로 조작 취약점입니다. 내장 노드에서 실행되는 작업의 경우 RCE로 악용 가능합니다.
💡 쉬운 설명
Jenkins 플러그인이 파일 경로를 검증하지 않아 악의적 사용자가 서버 어디든 파일을 저장할 수 있습니다. 이를 통해 서버를 완전히 장악하는 공격이 가능합니다.
🇺🇸 원문 (English)
Jenkins Credentials Binding Plugin 720.v3f6decef43ea_ and earlier does not properly sanitize file names for file and zip file credentials, allowing attackers able to provide credentials to a job to write files to arbitrary locations on the node filesystem, which can lead to remote code execution if Jenkins is configured to allow a low-privileged user to configure file or zip file credentials used for a job running on the built-in node.
📍 영향받는 시스템
Jenkins Credentials Binding Plugin 버전 720.v3f6decef43ea 이전
⚔️ 공격 벡터
자격증명 구성 권한을 가진 사용자가 경로 조작으로 임의 위치에 악성 파일을 작성하여 RCE 달성
🛡️ 대응 방법
Jenkins Credentials Binding Plugin을 720.v3f6decef43ea 이후 버전으로 즉시 업그레이드
🔧 검증 코드
출력된 버전이 720.v3f6decef43ea보다 높으면 패치됨, 낮거나 없으면 업그레이드 필요
unzip -p /var/lib/jenkins/plugins/credentials-binding.jpi META-INF/MANIFEST.MF 2>/dev/null | grep Implementation-Version | awk '{print $2}'