CVE-2024-10831
In eosphoros-ai/db-gpt version 0.6.0, the endpoint for uploading files is vulnerable to absolute path traversal.
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | dbgpt | <= 0.6.0 | nicht erfasst |
Betroffene Produkte · Dbgpt
| Produkt | Betroffene Versionen |
|---|---|
| Db-gpt | Version 0.6.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-hhw5-29f6-hf4x
- https://nvd.nist.gov/vuln/detail/CVE-2024-10831
- https://huntr.com/bounties/5c34c39f-66d4-414c-ab6a-f7888a5d882a
- https://github.com/pypa/advisory-database/tree/main/vulns/dbgpt/PYSEC-2026-323.yaml
- https://pypi.org/project/dbgpt