CVE-2024-10834
eosphoros-ai eosphoros-ai/db-gpt — Arbitrary File Write in eosphoros-ai/db-gpt
Description · from the CVE record
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.
Affected
ProductAffectedFixed inSource
eosphoros-ai/db-gptunspecified – latest–CNA
Scores by source
@huntr_ai (CNA)9.1CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: partial