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

exploitDog

nvd логотип

CVE-2019-9686

Опубликовано: 11 мар. 2019
Источник: nvd
CVSS3: 8.8
CVSS2: 9.3
EPSS Низкий

Описание

pacman before 5.1.3 allows directory traversal when installing a remote package via a specified URL "pacman -U " due to an unsanitized file name received from a Content-Disposition header. pacman renames the downloaded package file to match the name given in this header. However, pacman did not sanitize this name, which may contain slashes, before calling rename(). A malicious server (or a network MitM if downloading over HTTP) can send a Content-Disposition header to make pacman place the file anywhere in the filesystem, potentially leading to arbitrary root code execution. Notably, this bypasses pacman's package signature checking. This occurs in curl_download_internal in lib/libalpm/dload.c.

Уязвимые конфигурации

Конфигурация 1
cpe:2.3:a:pacman_project:pacman:*:*:*:*:*:*:*:*
Версия до 5.1.3 (исключая)

EPSS

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

8.8 High

CVSS3

9.3 Critical

CVSS2

Дефекты

CWE-22

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

CVSS3: 8.8
github
больше 3 лет назад

pacman before 5.1.3 allows directory traversal when installing a remote package via a specified URL "pacman -U <url>" due to an unsanitized file name received from a Content-Disposition header. pacman renames the downloaded package file to match the name given in this header. However, pacman did not sanitize this name, which may contain slashes, before calling rename(). A malicious server (or a network MitM if downloading over HTTP) can send a Content-Disposition header to make pacman place the file anywhere in the filesystem, potentially leading to arbitrary root code execution. Notably, this bypasses pacman's package signature checking. This occurs in curl_download_internal in lib/libalpm/dload.c.

EPSS

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

8.8 High

CVSS3

9.3 Critical

CVSS2

Дефекты

CWE-22