9.1Kritisch

CVE-2024-10831Arbitrary File Write through Absolute Path Traversal in eosphoros-ai/db-gpt

eosphoros-ai eosphoros-ai/db-gpt Veröffentlicht: (vor 1 Jahr)

Beschreibung

In eosphoros-ai/db-gpt version 0.6.0, the endpoint for uploading files is vulnerable to absolute path traversal. This vulnerability allows an attacker to upload arbitrary files to arbitrary locations on the target server. The issue arises because the `file_key` and `doc_file.filename` parameters are user-controllable, enabling the construction of paths outside the intended directory. This can lead to overwriting essential system files, such as SSH keys, for further exploitation.

Schwachstellentyp (CWE): CWE-36

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
dbgpt db-gpt 0.6.0
eosphoros-ai eosphoros-ai/db-gpt unspecified – ≤ latest

Referenzen und Patches

CPE-Treffer (NVD) (1)

  • cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:*