9.1Critical
CVE-2024-10833Arbitrary File Write in eosphoros-ai/db-gpt
Description
eosphoros-ai/db-gpt version 0.6.0 is vulnerable to an arbitrary file write through the knowledge API. The endpoint for uploading files as 'knowledge' is susceptible to absolute path traversal, allowing attackers to write files to arbitrary locations on the target server. This vulnerability arises because the 'doc_file.filename' parameter is user-controllable, enabling the construction of absolute paths.
Weakness (CWE):
CWE-36
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/dc58e981-e325-4c11-b4e1-1095890fd15a ExploitThird Party Advisory
CPE matches (NVD) (1)
cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:*