8.2High
CVE-2024-10830Path Traversal in eosphoros-ai/db-gpt
Description
A Path Traversal vulnerability exists in the eosphoros-ai/db-gpt version 0.6.0 at the API endpoint `/v1/resource/file/delete`. This vulnerability allows an attacker to delete any file on the server by manipulating the `file_key` parameter. The `file_key` parameter is not properly sanitized, enabling an attacker to specify arbitrary file paths. If the specified file exists, the application will delete it.
Weakness (CWE):
CWE-22
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| dbgpt | db-gpt | 0.6.0 | |
| eosphoros-ai | eosphoros-ai/db-gpt | unspecified – ≤ latest |
References and patches
- https://huntr.com/bounties/26adf08a-9262-4d5a-a2ee-ce12ed919620 ExploitThird Party Advisory
CPE matches (NVD) (1)
cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:*