🔍 CVE-2017-1000362

9.8
CVSS Score
CRITICAL
2017-07-17
2026-06-17 00:59
✅ 완료

🇰🇷 한글 설명

Jenkins 1.498에서 도입된 re-key admin monitor 기능에서 보안 키의 백업 디렉토리가 world-readable 상태로 남겨져 있어 민감한 정보 노출. Jenkins는 이제 백업 디렉토리를 자동 삭제하지만, 이전 버전 업그레이드 시 수동 삭제 필요.

💡 쉬운 설명

Jenkins 업그레이드 시 보안 키 백업 파일이 누구나 읽을 수 있게 남겨진 문제. 공격자가 이 파일로 암호화된 정보를 복호화할 수 있음.

🇺🇸 원문 (English)

The re-key admin monitor was introduced in Jenkins 1.498 and re-encrypted all secrets in JENKINS_HOME with a new key. It also created a backup directory with all old secrets, and the key used to encrypt them. These backups were world-readable and not removed afterwards. Jenkins now deletes the backup directory, if present. Upgrading from before 1.498 will no longer create a backup directory. Administrators relying on file access permissions in their manually created backups are advised to check them for the directory $JENKINS_HOME/jenkins.security.RekeySecretAdminMonitor/backups, and delete it if present.

📍 영향받는 시스템

Jenkins 1.498 이상 (업그레이드하면서 백업 디렉토리가 남은 경우)

⚔️ 공격 벡터

파일 시스템 접근으로 JENKINS_HOME/jenkins.security.RekeySecretAdminMonitor/backups의 world-readable 백업 파일 읽기

🛡️ 대응 방법

JENKINS_HOME/jenkins.security.RekeySecretAdminMonitor/backups 디렉토리 삭제 후 최신 Jenkins 버전으로 업그레이드

🔧 검증 코드

출력 없음=안전, 경로 출력됨=취약점 존재(즉시 삭제)

Shell / Script
find $JENKINS_HOME -type d -name 'backups' 2>/dev/null | grep -i 'RekeySecretAdminMonitor'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Jenkins