Skip to content

CVE-2024-10834 Arbitrary File Write in eosphoros-ai/db-gpt

CriticalCVSS 9.1 EPSS 0.64%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
eosphoros-ai/db-gpt <= latest after latest Fixed
dbgpt db-gpt = 0.6.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
eosphoros-ai/db-gpt <= latest No fix listed
dbgpt db-gpt = 0.6.0 No fix listed

References