🔍 CVE-2016-9086

6.5
CVSS Score
MEDIUM
2016-11-03
2026-05-06 22:30
✅ 완료

🇰🇷 한글 설명

GitLab 8.13.0 이상에서 추가된 프로젝트 import/export 기능이 tar 아카이브의 심볼릭 링크를 검증하지 않아, 인증된 사용자가 GitLab 서비스 계정이 접근 가능한 민감한 파일(비밀 토큰 등)을 읽을 수 있습니다. 8.9.0부터 8.13.2 버전까지 영향을 받습니다.

💡 쉬운 설명

GitLab에서 프로젝트를 내보낼 때 파일 경로를 제대로 확인하지 않아 로그인한 누구나 서버의 중요한 보안 정보를 도용할 수 있습니다. 심볼릭 링크를 이용해 접근 제한된 파일도 읽을 수 있다는 뜻입니다.

🇺🇸 원문 (English)

GitLab versions 8.9.x and above contain a critical security flaw in the "import/export project" feature of GitLab. Added in GitLab 8.9, this feature allows a user to export and then re-import their projects as tape archive files (tar). All GitLab versions prior to 8.13.0 restricted this feature to administrators only. Starting with version 8.13.0 this feature was made available to all users. This feature did not properly check for symbolic links in user-provided archives and therefore it was possible for an authenticated user to retrieve the contents of any file accessible to the GitLab service account. This included sensitive files such as those that contain secret tokens used by the GitLab service to authenticate users. GitLab CE and EE versions 8.13.0 through 8.13.2, 8.12.0 through 8.12.7, 8.11.0 through 8.11.10, 8.10.0 through 8.10.12, and 8.9.0 through 8.9.11 are affected.

📍 영향받는 시스템

GitLab CE/EE 8.9.0-8.9.11, 8.10.0-8.10.12, 8.11.0-8.11.10, 8.12.0-8.12.7, 8.13.0-8.13.2

⚔️ 공격 벡터

인증된 사용자가 심볼릭 링크가 포함된 tar 아카이브를 작성 후 프로젝트 import 기능을 통해 임의의 파일에 접근

🛡️ 대응 방법

GitLab을 8.13.3+, 8.12.8+, 8.11.11+, 8.10.13+, 또는 8.9.12+ 버전으로 업데이트

🔧 검증 코드

설치된 GitLab 버전이 영향받는 범위(8.9.0~8.13.2)에 해당하면 취약한 상태입니다.

Shell / Script
dpkg -l 2>/dev/null | grep -E 'gitlab-ce|gitlab-ee' | awk '{print $2,$3}'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Git