🇰🇷 한글 설명
Jenkins 2.56 및 2.46.1 LTS 이하 버전에서 발생하는 취약점으로, remoting 기반 CLI의 login 명령어가 인증된 사용자의 암호화된 사용자 이름을 캐시 파일에 저장하는 결함이 있습니다. 이를 통해 비밀 값을 생성하거나 다운로드할 수 있는 권한을 가진 사용자는 다른 모든 Jenkins 사용자로 사칭할 수 있습니다.
💡 쉬운 설명
로그인 정보를 저장하는 방식의 허점을 이용해 다른 사람의 계정인 것처럼 속여 접속할 수 있는 보안 결함입니다. 권한이 있는 사용자가 이 취약점을 악용하면 관리자 권한까지 탈취할 수 있습니다.
🇺🇸 원문 (English)
Jenkins versions 2.56 and earlier as well as 2.46.1 LTS and earlier are vulnerable to a login command which allowed impersonating any Jenkins user. The `login` command available in the remoting-based CLI stored the encrypted user name of the successfully authenticated user in a cache file used to authenticate further commands. Users with sufficient permission to create secrets in Jenkins, and download their encrypted values (e.g. with Job/Configure permission), were able to impersonate any other Jenkins user on the same instance.
📍 영향받는 시스템
Jenkins 2.56 및 이전 버전, Jenkins 2.46.1 LTS 및 이전 버전
⚔️ 공격 벡터
CLI의 login 명령어를 통해 생성된 캐시 파일 내 암호화된 사용자 이름을 탈취하여 타인으로 사칭
🛡️ 대응 방법
Jenkins를 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 Jenkins 버전이 취약한 버전 범위(2.56 이하 또는 2.46.1 LTS 이하)에 해당하는지 확인하십시오.
curl -s http://<JENKINS_URL>/jnlpJars/jenkins-cli.jar --output jenkins-cli.jar && java -jar jenkins-cli.jar -s http://<JENKINS_URL>/ | grep 'Jenkins version'