CVE-2024-10831

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.
References
Link Resource
https://huntr.com/bounties/5c34c39f-66d4-414c-ab6a-f7888a5d882a Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:*

History

17 Jul 2025, 13:38

Type Values Removed Values Added
CPE cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:*
First Time Dbgpt db-gpt
Dbgpt
Summary
  • (es) En la versión 0.6.0 de eosphoros-ai/db-gpt, el endpoint para subir archivos es vulnerable a path traversal absoluto. Esta vulnerabilidad permite a un atacante subir archivos arbitrarios a ubicaciones arbitrarias en el servidor objetivo. El problema surge porque los parámetros `file_key` y `doc_file.filename` son controlables por el usuario, lo que permite la construcción de rutas fuera del directorio de destino. Esto puede provocar la sobrescritura de archivos esenciales del sistema, como claves SSH, para su posterior explotación.
References () https://huntr.com/bounties/5c34c39f-66d4-414c-ab6a-f7888a5d882a - () https://huntr.com/bounties/5c34c39f-66d4-414c-ab6a-f7888a5d882a - Exploit, Third Party Advisory

20 Mar 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-20 10:15

Updated : 2025-07-17 13:38


NVD link : CVE-2024-10831

Mitre link : CVE-2024-10831

CVE.ORG link : CVE-2024-10831


JSON object : View

Products Affected

dbgpt

  • db-gpt
CWE
CWE-36

Absolute Path Traversal