← Retour aux CVEs
CVE-2021-21245
CRITICAL10.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.
Details CVE
Score CVSS v3.110.0
SeveriteCRITICAL
Vecteur CVSSCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Vecteur d'attaqueNETWORK
ComplexiteLOW
Privileges requisNONE
Interaction utilisateurNONE
Publie1/15/2021
Derniere modification11/21/2024
Sourcenvd
Observations honeypot0
Produits affectes
onedev_project:onedev
Faiblesses (CWE)
CWE-434
References
https://github.com/theonedev/onedev/commit/0c060153fb97c0288a1917efdb17cc426934dacb(security-advisories@github.com)
https://github.com/theonedev/onedev/security/advisories/GHSA-62m2-38q5-96w9(security-advisories@github.com)
https://github.com/theonedev/onedev/commit/0c060153fb97c0288a1917efdb17cc426934dacb(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/theonedev/onedev/security/advisories/GHSA-62m2-38q5-96w9(af854a3a-2127-422b-91ae-364da2661108)
Correlations IOC
Aucune correlation enregistree
This product uses data from the NVD API but is not endorsed or certified by the NVD.