CVE-2021-21246 Pre-Auth Access token leak
사전 인증 액세스 토큰 유출
설명
OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, the REST UserResource endpoint performs a security check to make sure that only administrators can list user details. However for the `/users/{id}` endpoint there are no security checks enforced so it is possible to retrieve arbitrary user details including their Access Tokens! These access tokens can be used to access the API or clone code in the build spec via the HTTP(S) protocol. It has permissions to all projects accessible by the user account. This issue may lead to `Sensitive data leak` and leak the Access Token which can be used to impersonate the administrator or any other users. This issue was addressed in 4.0.3 by removing user info from restful api.
OneDev는 올인원 Devops 플랫폼입니다. 버전 4.0.3 이전 버전의 OneDev에서 REST UserResource 엔드포인트는 보안 검사를 수행하여 관리자만 사용자 세부 정보를 나열할 수 있도록 합니다. 그러나 `/users/{id}` 엔드포인트의 경우 보안 검사가 시행되지 않으므로 Access Token을 포함한 임의의 사용자 세부 정보를 검색 할 수 있습니다! 이러한 액세스 토큰은 HTTP(S) 프로토콜을 통해 빌드 사양의 API 또는 복제 코드에 액세스하는 데 사용할 수 있습니다. 사용자 계정으로 액세스할 수 있는 모든 프로젝트에 대한 권한이 있습니다. 이 문제는 `민감한 데이터 누출`로 이어질 수 있으며 관리자 또는 다른 사용자를 가장하는 데 사용할 수있는 액세스 토큰을 유출 할 수 있습니다. 이 문제는 4.0.3에서 사용자 정보를 제거하여 해결되었습니다.
영향 받는 제품 제품 1개
-
해결 버전 있음
theonedev
onedev
영향 받는 버전
- 4.0.3 미만
해결 버전
- 4.0.3 이상