Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-hhw5-29f6-hf4x

Опубликовано: 20 мар. 2025
Источник: github
Github: Прошло ревью
CVSS3: 9.1

Описание

DB-GPT Absolute Path Traversal vulnerability

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.

Пакеты

Наименование

dbgpt

pip
Затронутые версииВерсия исправления

<= 0.6.0

Отсутствует

EPSS

Процентиль: 45%
0.00224
Низкий

9.1 Critical

CVSS3

Дефекты

CWE-36

Связанные уязвимости

CVSS3: 9.1
nvd
11 месяцев назад

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.

EPSS

Процентиль: 45%
0.00224
Низкий

9.1 Critical

CVSS3

Дефекты

CWE-36