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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-21245— Pre-Auth Arbitrary File Upload

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 before version 4.0.3 存在代码问题漏洞,该漏洞源于网络系统或产品的代码开发过程中存在设计或实现不当的问题。攻击者可利用该漏洞任意的文件上传。

CVSS 10.0 · Critical EPSS 1.20% · P67
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-21245

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
Pre-Auth Arbitrary File Upload
Source: CVE Program / CVE List V5
Vulnerability Description
OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, AttachmentUploadServlet also saves user controlled data (`request.getInputStream()`) to a user specified location (`request.getHeader("File-Name")`). This issue may lead to arbitrary file upload which can be used to upload a WebShell to OneDev server. This issue is addressed in 4.0.3 by only allowing uploaded file to be in attachments folder. The webshell issue is not possible as OneDev never executes files in attachments folder.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
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 before version 4.0.3 存在代码问题漏洞,该漏洞源于网络系统或产品的代码开发过程中存在设计或实现不当的问题。攻击者可利用该漏洞任意的文件上传。
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 < 4.0.3 -

II. Public POCs for CVE-2021-21245

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-21245

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

Patches & Fixes for CVE-2021-21245 (1)

Vendor Advisories for CVE-2021-21245 (1)

Same Patch Batch · theonedev · 2021-01-15 · 10 CVEs total

CVE-2021-21242 10.0 CRITICAL Pre-Auth Unsafe Deserialization on AttachmentUploadServet
CVE-2021-21243 10.0 CRITICAL Pre-Auth Unsafe Deserialization on KubernetesResource
CVE-2021-21244 10.0 CRITICAL Pre-Auth SSTI via Bean validation message tampering
CVE-2021-21247 9.6 CRITICAL Post-Auth Unsafe Deserialization on BasePage (AJAX)
CVE-2021-21248 9.6 CRITICAL Post-Auth Arbitrary Code execution via Groovy script injection
CVE-2021-21249 9.6 CRITICAL Post-Auth Unsafe Yaml deserialization
CVE-2021-21246 8.6 HIGH Pre-Auth Access token leak
CVE-2021-21250 7.7 HIGH Post-Auth External Entity Expansion (XXE)
CVE-2021-21251 7.7 HIGH ZipSlip Arbitrary File Upload

IV. Related Vulnerabilities

V. Comments for CVE-2021-21245

No comments yet


Leave a comment