🇰🇷 한글 설명
Jenkins 2.88 및 이전 버전과 2.73.2 및 이전 버전에서 사용자 ID를 기반으로 메타데이터를 저장할 때 디렉토리 이름에 대한 추가적인 이스케이프 처리를 하지 않는 취약점이 발견되었습니다. 이로 인해 공격자가 특수하게 조작된 사용자 ID를 사용하여 시스템의 다른 설정 파일을 덮어쓸 수 있는 위험이 있습니다.
💡 쉬운 설명
사용자 이름을 저장할 때 특수 문자를 제대로 처리하지 않아 발생하는 문제입니다. 나쁜 의도를 가진 사용자가 이름을 이상하게 만들면 시스템의 중요한 파일을 망가뜨릴 수 있습니다.
🇺🇸 원문 (English)
Jenkins versions 2.88 and earlier and 2.73.2 and earlier stores metadata related to 'people', which encompasses actual user accounts, as well as users appearing in SCM, in directories corresponding to the user ID on disk. These directories used the user ID for their name without additional escaping, potentially resulting in problems like overwriting of unrelated configuration files.
📍 영향받는 시스템
Jenkins versions 2.88 and earlier, 2.73.2 and earlier
⚔️ 공격 벡터
조작된 사용자 ID(User ID)를 생성하여 시스템 디렉토리에 파일 덮어쓰기 시도
🛡️ 대응 방법
Jenkins를 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
Jenkins 관리 페이지의 버전 정보 또는 API 응답을 확인하여 취약한 버전인지 확인하십시오.
curl -s http://<JENKINS_URL>/jnlpJars/jenkins-cli.jar | java -jar - -version 2>/dev/null || echo 'Check Jenkins version via UI or API'