TROYANOSYVIRUS
Back to CVEs

CVE-2021-21245

CRITICAL
10.0

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.

CVE Details

CVSS v3.1 Score10.0
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published1/15/2021
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0

Affected Products

onedev_project:onedev

Weaknesses (CWE)

CWE-434

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.