First published: Thu Mar 20 2025(Updated: )
eosphoros-ai/db-gpt version 0.6.0 is vulnerable to an arbitrary file write through the knowledge API. The endpoint for uploading files as 'knowledge' is susceptible to absolute path traversal, allowing attackers to write files to arbitrary locations on the target server. This vulnerability arises because the 'doc_file.filename' parameter is user-controllable, enabling the construction of absolute paths.
Credit: security@huntr.dev
Affected Software | Affected Version | How to fix |
---|---|---|
eosphoros-ai db-gpt | ||
pip/dbgpt | <0.6.2 | 0.6.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-10833 is considered a critical vulnerability due to its potential for arbitrary file writes on the server.
To fix CVE-2024-10833, ensure proper input validation and implement file upload restrictions to prevent path traversal.
CVE-2024-10833 affects eosphoros-ai/db-gpt version 0.6.0.
CVE-2024-10833 enables attackers to perform arbitrary file writes on the server through the knowledge API.
Yes, CVE-2024-10833 can be exploited remotely by sending crafted requests to the vulnerable API endpoint.