We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-10834

Arbitrary File Write in eosphoros-ai/db-gpt



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.

Reserved 2024-11-04 | Published 2025-03-20 | Updated 2025-03-20 | Assigner @huntr_ai


CRITICAL: 9.1CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Problem types

CWE-73 External Control of File Name or Path

Product status

Any version
affected

References

huntr.com/bounties/0d598508-151a-4050-9ccd-31bb82955e7a

cve.org (CVE-2024-10834)

nvd.nist.gov (CVE-2024-10834)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2024-10834

Support options

Helpdesk Chat, Email, Knowledgebase