CVE-2024-10834Arbitrary File Write in eosphoros-ai/db-gpt
Descripción
eosphoros-ai/db-gpt version 0.6.0 contains a vulnerability in the RAG-knowledge endpoint that allows for arbitrary file write. The issue arises from the ability to pass an absolute path to a call to `os.path.join`, enabling an attacker to write files to arbitrary locations on the target server. This vulnerability can be exploited by setting the `doc_file.filename` to an absolute path, which can lead to overwriting system files or creating new SSH-key entries.
Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.
Productos y versiones afectados
| Fabricante | Producto | Versiones | |
|---|---|---|---|
| dbgpt | db-gpt | 0.6.0 | |
| eosphoros-ai | eosphoros-ai/db-gpt | unspecified – ≤ latest |
Referencias y parches
- https://huntr.com/bounties/0d598508-151a-4050-9ccd-31bb82955e7a ExploitThird Party Advisory
Coincidencias CPE (NVD) (1)
cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:*