🇰🇷 한글 설명
Jenkins Email Extension Plugin 1933.v45cec755423f 이전 버전에서 이메일 콘텐츠에 base64 이미지를 인라인할 때 data-inline 속성의 이미지 URL에 대한 검증이 부족하여, file: URL을 통해 Jenkins 컨트롤러 파일시스템의 임의 파일을 읽을 수 있는 취약점입니다. 메일 콘텐츠를 제어할 수 있는 공격자는 이를 악용하여 민감한 설정 파일과 인증 정보에 접근할 수 있습니다.
💡 쉬운 설명
Jenkins 이메일 플러그인이 이미지 첨부 시 어떤 파일이든 읽을 수 있는 보안 구멍이 있습니다. 공격자가 이를 이용해 서버의 암호나 설정 파일 같은 민감한 정보를 몰래 읽을 수 있습니다.
🇺🇸 원문 (English)
Jenkins Email Extension Plugin 1933.v45cec755423f and earlier allows inlining images as `base64` in email content by setting the `data-inline` attribute, without restrictions on the image URLs that can be inlined, allowing attackers able to control the email content to specify `file:` URLs for images to read arbitrary files from the Jenkins controller filesystem.
📍 영향받는 시스템
Jenkins Email Extension Plugin 버전 1933.v45cec755423f 이전 모든 버전
⚔️ 공격 벡터
이메일 콘텐츠 제어 권한이 있는 공격자가 data-inline 속성으로 file: URL을 지정하여 임의 파일 읽기 수행
🛡️ 대응 방법
Jenkins Email Extension Plugin을 최신 버전으로 업그레이드하고 이메일 콘텐츠 입력에 대한 접근 제어 강화
🔧 검증 코드
결과에서 email-ext 플러그인이 발견되면 해당 디렉토리의 META-INF/MANIFEST.MF에서 버전이 1933.v45cec755423f보다 낮으면 업그레이드 필요
find $JENKINS_HOME/plugins -name 'email-ext*' 2>/dev/null | head -1