Vulnerability CVE-2021-21242


Published: 2021-01-15

Description:
OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, there is a critical vulnerability which can lead to pre-auth remote code execution. AttachmentUploadServlet deserializes untrusted data from the `Attachment-Support` header. This Servlet does not enforce any authentication or authorization checks. This issue may lead to pre-auth remote code execution. This issue was fixed in 4.0.3 by removing AttachmentUploadServlet and not using deserialization

Type:

CWE-502

(Deserialization of Untrusted Data)

CVSS2 => (AV:N/AC:L/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
7.5/10
6.4/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Onedev project -> Onedev 

 References:
https://github.com/theonedev/onedev/commit/f864053176c08f59ef2d97fea192ceca46a4d9be
https://github.com/theonedev/onedev/security/advisories/GHSA-5q3q-f373-2jv8

Copyright 2024, cxsecurity.com

 

Back to Top