🇰🇷 한글 설명
Bytebase 1.0.1 미만 버전에서 인증 우회 취약점이 발견되었습니다. 공격자가 GitLab 설정의 instanceUrl을 조작하여 임의의 사용자로 로그인하거나 권한을 탈취할 수 있습니다.
💡 쉬운 설명
로그인 과정에서 시스템이 외부 서버의 정보를 검증 없이 믿어버리는 문제입니다. 이를 통해 해커가 관리자 계정으로 몰래 접속하여 시스템을 장악할 수 있습니다.
🇺🇸 원문 (English)
Bytebase 0.12.0 before 1.0.1 contains an authentication bypass vulnerability that allows unauthenticated attackers to log in as any user. The flaw stems from trusting client-supplied GitLab provider configuration in the POST /api/auth/login/GITLAB_SELF_HOST endpoint. Attackers can set instanceUrl to a server they control that returns an active user with a chosen email. Bytebase then issues session tokens for that principal, letting attackers impersonate existing users including the Owner or create new members.
📍 영향받는 시스템
Bytebase 0.12.0 ~ 1.0.0 버전
⚔️ 공격 벡터
POST /api/auth/login/GITLAB_SELF_HOST 엔드포인트에 조작된 GitLab 설정값을 전송하여 인증 우회
🛡️ 대응 방법
Bytebase를 최신 버전인 1.0.1 이상으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 1.0.1 미만인지 확인하여 취약 여부를 판단합니다.
curl -s http://<target-ip>/api/version | grep -E 'version'