← Volver a CVEs
CVE-2021-21245
CRITICAL10.0
Descripcion
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.
Detalles CVE
Puntuacion CVSS v3.110.0
SeveridadCRITICAL
Vector CVSSCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Vector de ataqueNETWORK
ComplejidadLOW
Privilegios requeridosNONE
Interaccion usuarioNONE
Publicado1/15/2021
Ultima modificacion11/21/2024
Fuentenvd
Avistamientos honeypot0
Productos afectados
onedev_project:onedev
Debilidades (CWE)
CWE-434
Referencias
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)
Correlaciones IOC
Sin correlaciones registradas
This product uses data from the NVD API but is not endorsed or certified by the NVD.