🇰🇷 한글 설명
GitLab의 gitlab-shell 1.7.4 이전 버전에서 저장소 import 기능의 취약점으로, 원격 인증 사용자가 import URL을 통해 임의의 명령을 실행할 수 있습니다. 이는 명령 주입(command injection) 취약점으로 분류되며 CVSS 6.5(중위험)에 해당합니다.
💡 쉬운 설명
GitLab에서 프로젝트를 import할 때 URL에 특수 문자를 삽입하여 서버에서 악의적인 명령을 실행할 수 있는 보안 문제입니다. 로그인한 사용자가 이를 악용하면 서버의 데이터를 탈취하거나 시스템을 제어할 수 있습니다.
🇺🇸 원문 (English)
The repository import feature in gitlab-shell before 1.7.4, as used in GitLab, allows remote authenticated users to execute arbitrary commands via the import URL.
📍 영향받는 시스템
GitLab gitlab-shell < 1.7.4
⚔️ 공격 벡터
Authenticated attacker submits malicious import URL with shell metacharacters to execute arbitrary commands on the server
🛡️ 대응 방법
Update gitlab-shell to version 1.7.4 or later; implement strict input validation and URL sanitization for all import functionality
🔧 검증 코드
Version displayed in third column; if < 1.7.4 or not found, check with rpm -qa gitlab-shell on RPM-based systems
dpkg -l gitlab-shell 2>/dev/null | grep -E 'gitlab-shell'