Vulnerabilities · 2024 · Dbgpt
CVE-2024-10831
Dbgpt Db-gpt vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Db-gpt. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Dbgpt Db-gpt runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- huntr.com/bounties/5c34c39f-66d4-414c-ab6a-f7888a5d882a · Exploit
- nvd.nist.gov/vuln/detail/CVE-2024-10831
- github.com/advisories/GHSA-hhw5-29f6-hf4x
- github.com/pypa/advisory-database/tree/main/vulns/dbgpt/PYSEC-2026-323.yaml
- pypi.org/project/dbgpt
- nvd.nist.gov/vuln/detail/CVE-2024-10831
- cve.org/CVERecord?id=CVE-2024-10831
More vulnerabilities in Dbgpt products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.