원문 설명
Onedev is an open source, self-hosted Git Server with CI/CD and Kanban. In versions of Onedev prior to 7.3.0 unauthenticated users can take over a OneDev instance if there is no properly configured reverse proxy. The /git-prereceive-callback endpoint is used by the pre-receive git hook on the server to check for branch protections during a push event. It is only intended to be accessed from localhost, but the check relies on the X-Forwarded-For header. Invoking this endpoint leads to the execution of one of various git commands. The environment variables of this command execution can be controlled via query parameters. This allows attackers to write to arbitrary files, which can in turn lead to the execution of arbitrary code. Such an attack would be very hard to detect, which increases the potential impact even more. Users are advised to upgrade. There are no known workarounds for this issue.
영향받는 소프트웨어
- OneDev *< 7.3.0 수정 버전: 7.3.0 저장소·패키지 일치
상세
- 공개일
- 2022-09-13
- 최종 수정
- 2026-06-17
- CVSS 벡터
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-287
- EPSS(30일 내 악용 확률)
- 2.46% (백분위 85)
참고 자료
- cve.org/CVE-2022-39205
- nvd.nist.gov/vuln/detail/CVE-2022-39205
- blog.sonarsource.com/onedev-remote-code-execution/
- github.com/theonedev/onedev/commit/f1e97688e4e19d6de1dfa1d00e04655209d39f8e
- github.com/theonedev/onedev/releases/tag/v7.3.0
- github.com/theonedev/onedev/security/advisories/GHSA-4f9h-h82c-4xm2
내 서버의 버전을 직접 추적하세요
InfraGuard 는 모든 서버에 설치된 소프트웨어 버전을 수집하고, 알려진 취약점이 있는 버전을 알려 줍니다. 자체 호스팅이라 데이터가 내 네트워크를 벗어나지 않습니다.
이 제품은 NVD API 데이터를 사용하지만 NVD 의 보증이나 인증을 받은 것은 아닙니다. CVE® 는 The MITRE Corporation 의 등록 상표이며, CVE 레코드는 CVE Program 이용 약관에 따라 사용합니다.