← Voltar para CVEs
CVE-2021-21245
CRITICAL10.0
Descricao
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.
Detalhes CVE
Pontuacao CVSS v3.110.0
SeveridadeCRITICAL
Vetor CVSSCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Vetor de ataqueNETWORK
ComplexidadeLOW
Privilegios necessariosNONE
Interacao do usuarioNONE
Publicado1/15/2021
Ultima modificacao11/21/2024
Fontenvd
Avistamentos honeypot0
Produtos afetados
onedev_project:onedev
Fraquezas (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)
Correlacoes IOC
Sem correlacoes registradas
This product uses data from the NVD API but is not endorsed or certified by the NVD.