7.3high
sjqzhang go-fastdfs File Upload uploa upload path traversal
- Severity
- 7.3high CVSS:3.1 by VulDB
- Exploit likelihood
- 3.55% (higher than 89% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-xq3x-grrj-fj6xGO-2023-1713
Description
A vulnerability, which was classified as critical, has been found in sjqzhang go-fastdfs up to 1.4.3. Affected by this issue is the function upload of the file /group1/uploa of the component File Upload Handler. The manipulation leads to path traversal: '../filedir'. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-224768.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| sjqzhang go-fastdfs | 1.4.0, 1.4.1, 1.4.2, 1.4.3 | CVE List |
| github.com/sjqzhang/go-fastdfs (Go) | before 1.4.5-0.20230408141131-61cbff5124c6 | GitHub Advisory Database, Go Vulnerability Database |
| go-fastdfs_project go-fastdfs | up to 1.4.3 | NVD |
All scores
| VulDB | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| VulDB | 7.3high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| VulDB | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
A vulnerability, which was classified as critical, has been found in sjqzhang go-fastdfs up to 1.4.3. Affected by this issue is the function upload of the file /group1/uploa of the component File Upload Handler. The manipulation leads to path traversal: '../filedir'. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-224768.
CVE List (de)
Eine kritische Schwachstelle wurde in sjqzhang go-fastdfs bis 1.4.3 entdeckt. Betroffen davon ist die Funktion upload der Datei /group1/uploa der Komponente File Upload Handler. Mittels dem Manipulieren mit unbekannten Daten kann eine path traversal: '../filedir'-Schwachstelle ausgenutzt werden. Die Umsetzung des Angriffs kann dabei über das Netzwerk erfolgen. Der Exploit steht zur öffentlichen Verfügung.
GitHub Advisory Database
sjqzhang go-fastdfs up to 1.4.3 is vulnerable to path traversal in the function upload of the file /group1/upload of the component File Upload Handler. The attack may be launched remotely and the exploit has been disclosed to the public and may be used.
Go Vulnerability Database
An attacker can craft a remote request to upload a file to "/group1/upload" that uses path traversal to instead write the file contents to an attacker controlled path on the server.
References
| https://vuldb.com/?id.224768 | technical-description, third-party-advisory, vdb-entry, web | |
| https://vuldb.com/?ctiid.224768 | permissions-required, signature, third-party-advisory, web | |
| https://github.com/yangyanglo/ForCVE/blob/main/2023-0x05.md | broken-link, exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-1800 | advisory | |
| https://github.com/sjqzhang/go-fastdfs/commit/61cbff5124c61e292994099372b11c06cdb5b80b | fix, web | |
| https://github.com/sjqzhang/go-fastdfs | package | |
| https://github.com/yangyanglo/ForCVE/blob/93a16663cd32a36d37d8a0f0102e1592254d0279/2023-0x05.md | web | |
| https://github.com/advisories/GHSA-xq3x-grrj-fj6x | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-1800 changed 2024-11-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xq3x-grrj-fj6x changed 2024-05-20 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2023-1713 changed 2024-05-20 | CC-BY-4.0 |
| NVD | CVE-2023-1800 changed 2026-06-17 | Public domain |