🔍 CVE-2017-1000096

8.8
CVSS Score
HIGH
2017-10-05
2026-06-17 00:58
✅ 완료

🇰🇷 한글 설명

Jenkins의 Pipeline 스크립트 실행 시 생성자, 인스턴스 변수 초기화, 인스턴스 초기화 코드가 샌드박스 보호를 받지 않아 임의의 코드 실행이 가능한 취약점입니다. Jenkins에서 Pipeline 구성 권한을 가진 사용자 또는 Jenkinsfile 저장소의 신뢰할 수 있는 커미터가 이를 악용할 수 있습니다.

💡 쉬운 설명

Jenkins에서 Pipeline을 만들 때 특정 부분의 보안 검사를 우회하여 악의적인 명령을 실행할 수 있는 문제입니다. Jenkins 사용 권한이 있는 누구나 이를 이용해 서버를 완전히 장악할 수 있습니다.

🇺🇸 원문 (English)

Arbitrary code execution due to incomplete sandbox protection: Constructors, instance variable initializers, and instance initializers in Pipeline scripts were not subject to sandbox protection, and could therefore execute arbitrary code. This could be exploited e.g. by regular Jenkins users with the permission to configure Pipelines in Jenkins, or by trusted committers to repositories containing Jenkinsfiles.

📍 영향받는 시스템

Jenkins 2.46 이하, Script Security Plugin 1.27 이하

⚔️ 공격 벡터

Pipeline 스크립트의 생성자나 변수 초기화 부분에 악의적인 코드를 삽입하여 실행

🛡️ 대응 방법

Jenkins 2.47 이상, Script Security Plugin 1.28 이상으로 업그레이드 필수

🔧 검증 코드

Jenkins 버전이 2.47 이상인지 확인하고, Script Security Plugin 버전을 관리자 콘솔에서 확인하여 1.28 이상인지 검증

Shell / Script
curl -s http://localhost:8080/api/json 2>/dev/null | grep -o '"version":"[^"]*"' || echo 'Jenkins not accessible'

📊 CVSS Vector String

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Jenkins