CVE-2024-10834
Last modified
CVE-2024-10834 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 0.59% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Dbgpt | Db-Gpt | 0.6.0 |
References
- https://huntr.com/bounties/0d598508-151a-4050-9ccd-31bb82955e7aExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-10834?
How severe is CVE-2024-10834?
How do I fix CVE-2024-10834?
Are you affected by CVE-2024-10834?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
