PT-2023-2229 · Sjqzhang · Go-Fastdfs

Yangyanglo

·

Publicado

2023-04-02

·

Atualizado

2024-05-17

·

CVE-2023-1800

CVSS v3.1

9.8

Crítica

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions sjqzhang go-fastdfs versions up to 1.4.3
Description The issue is related to a path traversal vulnerability in the file upload function of the sjqzhang go-fastdfs distributed file system. This vulnerability can be exploited by a remote attacker to write arbitrary files and execute arbitrary commands. The attack involves manipulating the file path to access restricted directories. The vulnerability can be exploited remotely.
Recommendations For versions up to 1.4.3, as a temporary workaround, consider disabling the file upload function until a patch is available. Restrict access to the /group1/upload endpoint to minimize the risk of exploitation. Avoid using path traversal characters, such as ../, in the file upload function to prevent attackers from writing files to arbitrary locations. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Unrestricted File Upload

Path traversal

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

BDU:2023-01983
CVE-2023-1800
GHSA-XQ3X-GRRJ-FJ6X
GO-2023-1713

Produtos afetados

Go-Fastdfs