GitLab CE/EE 버전 16.8부터 18.5.0 이전 버전
사용자 승인 규칙 편집 기능을 악용하여 시스템의 승인 규칙을 변경
GitLab을 18.5.0 이상 버전으로 업데이트하거나, 공식 패치 적용
로컬에서 Python 3.x 버전을 설치하고, 위의 코드를 실행하여 GitLab 버전을 확인합니다. 코드 실행 결과는 JSON 형식으로 출력되며, 'result' 필드가 '취약'인 경우 GitLab 버전이 취약한 버전임을 의미합니다.
python -c "import requests; response = requests.get('https://gitlab.com/help'); if '16.8' in response.text or '17.' in response.text or '18.0' in response.text or '18.1' in response.text or '18.2' in response.text or '18.3' in response.text or '18.4' in response.text: print('{"result": "취약", "reason": "GitLab 버전이 취약한 버전입니다."}'); else: print('{"result": "양호", "reason": "GitLab 버전이 안전한 버전입니다."}')"
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N