🇰🇷 한글 설명
Jenkins의 특정 버전에서 플러그인 리소스 파일에 접근할 때 상대 경로를 사용하여 기본 디렉토리를 벗어날 수 있는 취약점이 발견되었습니다. 이를 통해 Overall/Read 권한을 가진 사용자가 Jenkins 마스터 서버 내의 권한이 없는 파일들을 다운로드할 수 있습니다.
💡 쉬운 설명
해커가 경로 조작을 통해 원래는 볼 수 없는 서버 내부의 중요한 파일들을 몰래 가져갈 수 있는 문제입니다. 권한이 낮은 사용자라도 파일 경로를 교묘하게 입력하면 서버의 민감한 정보를 탈취할 수 있습니다.
🇺🇸 원문 (English)
Jenkins before 2.107 and Jenkins LTS before 2.89.4 did not properly prevent specifying relative paths that escape a base directory for URLs accessing plugin resource files. This allowed users with Overall/Read permission to download files from the Jenkins master they should not have access to. On Windows, any file accessible to the Jenkins master process could be downloaded. On other operating systems, any file within the Jenkins home directory accessible to the Jenkins master process could be downloaded.
📍 영향받는 시스템
Jenkins 2.107 미만 버전 및 Jenkins LTS 2.89.4 미만 버전
⚔️ 공격 벡터
플러그인 리소스 접근 URL에 상위 디렉토리 이동 경로(예: ../)를 삽입하는 경로 조작 공격
🛡️ 대응 방법
Jenkins를 최신 버전(2.107 이상 또는 LTS 2.89.4 이상)으로 즉시 업데이트하십시오.
🔧 검증 코드
Jenkins 관리 페이지의 'About Jenkins' 메뉴에서 현재 설치된 버전이 취약한 버전 범위에 있는지 확인하십시오.
curl -s http://<jenkins-server>/jelly/plugin/core/resource/index.jelly | grep -i 'Jenkins' || echo 'Check version via Jenkins UI'