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.
References
| Link | Resource |
|---|---|
| https://huntr.com/bounties/0d598508-151a-4050-9ccd-31bb82955e7a | Exploit Third Party Advisory |
Configurations
History
17 Jul 2025, 13:39
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://huntr.com/bounties/0d598508-151a-4050-9ccd-31bb82955e7a - Exploit, Third Party Advisory | |
| Summary |
|
|
| First Time |
Dbgpt
Dbgpt db-gpt |
|
| CPE | cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:* |
20 Mar 2025, 10:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2025-03-20 10:15
Updated : 2025-07-17 13:39
NVD link : CVE-2024-10834
Mitre link : CVE-2024-10834
CVE.ORG link : CVE-2024-10834
JSON object : View
Products Affected
dbgpt
- db-gpt
CWE
CWE-73
External Control of File Name or Path
