Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-39205— Access Control Bypass in Onedev

Quick assessment

Affected
theonedev onedev
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Theonedev Onedev是Theonedev团队的一个基于JAVA的多合一DevOps平台。该平台支持容器构建、编排、CI、Git管理、团队协作等功能,帮助开发者构建一个简单、功能强大的开发平台。 Theonedev Onedev 7.3.0 之前版本存在授权问题漏洞,该漏洞源于如果没有正确配置的反向代理,未经身份验证的用户可以接管 OneDev 实例。

CVSS 9.0 · Critical EPSS 2.41% · P84
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-39205

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Access Control Bypass in Onedev
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
认证机制不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Theonedev Onedev 授权问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Theonedev Onedev是Theonedev团队的一个基于JAVA的多合一DevOps平台。该平台支持容器构建、编排、CI、Git管理、团队协作等功能,帮助开发者构建一个简单、功能强大的开发平台。 Theonedev Onedev 7.3.0 之前版本存在授权问题漏洞,该漏洞源于如果没有正确配置的反向代理,未经身份验证的用户可以接管 OneDev 实例。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
theonedev onedev < 7.3.0 -

II. Public POCs for CVE-2022-39205

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-39205

请登录查看更多情报信息。

Patches & Fixes for CVE-2022-39205 (1)

Vendor Advisories for CVE-2022-39205 (1)

Security Blog Posts for CVE-2022-39205 (1)

Other References for CVE-2022-39205 (1)

Same Patch Batch · theonedev · 2022-09-13 · 4 CVEs total

CVE-2022-39206 9.9 CRITICAL CI/CD Docker Escape in OneDev
CVE-2022-39208 7.5 HIGH Git Repository Disclosure in Onedev
CVE-2022-39207 5.4 MEDIUM Persistent XSS in OneDev

IV. Related Vulnerabilities

V. Comments for CVE-2022-39205

No comments yet


Leave a comment