Critical severity · published Mar 20, 2025
CVE-2024-10831
Arbitrary File Write through Absolute Path Traversal in eosphoros-ai/db-gpt
9.1
CVSS
0.8%
EPSS
No
On KEV
Description
In eosphoros-ai/db-gpt version 0.6.0, the endpoint for uploading files is vulnerable to absolute path traversal. This vulnerability allows an attacker to upload arbitrary files to arbitrary locations on the target server. The issue arises because the `file_key` and `doc_file.filename` parameters are user-controllable, enabling the construction of paths outside the intended directory. This can lead to overwriting essential system files, such as SSH keys, for further exploitation.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 58% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EO
eosphoros-ai/db-gpt · eosphoros-ai
through latest · source: vendor
DB
Db-gpt · Dbgpt
0.6.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-10831
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-10831
Exploit
https://huntr.com/bounties/5c34c39f-66d4-414c-ab6a-f7888a5d882a
More from eosphoros-ai/db-gpt
9.8
CVE-2024-10901
Arbitrary File Write via DuckDB SQL Injection in eosphoros-ai/db-gpt
9.8
CVE-2024-10835
Arbitrary File Write via SQL Injection in eosphoros-ai/db-gpt
9.8
CVE-2024-10902
Arbitrary File Upload with Path Traversal in eosphoros-ai/db-gpt
9.1
CVE-2024-10834
Arbitrary File Write in eosphoros-ai/db-gpt
9.1
CVE-2024-10833
Arbitrary File Write in eosphoros-ai/db-gpt
