Vulnerability Description
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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Dbgpt | Db-Gpt | 0.6.0 |
Related Weaknesses (CWE)
References
- https://huntr.com/bounties/0d598508-151a-4050-9ccd-31bb82955e7aExploitThird Party Advisory
FAQ
What is CVE-2024-10834?
CVE-2024-10834 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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 `...
How severe is CVE-2024-10834?
CVE-2024-10834 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2024-10834?
Check the references section above for vendor advisories and patch information. Affected products include: Dbgpt Db-Gpt.