Уязвимость в программе GNU Wge, позволяющая удалённым серверам создавать или перезаписывать произвольные файлы
Описание
В версиях GNU Wget 1.12 и ранее при определении имени файла для скачивания используется имя, предоставленное сервером, вместо исходного URL. Это позволяет удалённым серверам создавать или перезаписывать произвольные файлы посредством перенаправления с использованием кода 3xx на URL с именем файла .wgetrc
, за которым следует ещё одно перенаправление на URL с заданным именем файла. Такой подход может привести к выполнению произвольного кода, если запись идёт в файл конфигурации дома пользователя.
Затронутые версии ПО
GNU Wget версии 1.12 и более ранние.
Тип уязвимости
Удалённое выполнение кода
Ссылки
Уязвимые конфигурации
Одно из
EPSS
6.8 Medium
CVSS2
Дефекты
Связанные уязвимости
GNU Wget 1.12 and earlier uses a server-provided filename instead of the original URL to determine the destination filename of a download, which allows remote servers to create or overwrite arbitrary files via a 3xx redirect to a URL with a .wgetrc filename followed by a 3xx redirect to a URL with a crafted filename, and possibly execute arbitrary code as a consequence of writing to a dotfile in a home directory.
GNU Wget 1.12 and earlier uses a server-provided filename instead of the original URL to determine the destination filename of a download, which allows remote servers to create or overwrite arbitrary files via a 3xx redirect to a URL with a .wgetrc filename followed by a 3xx redirect to a URL with a crafted filename, and possibly execute arbitrary code as a consequence of writing to a dotfile in a home directory.
GNU Wget 1.12 and earlier uses a server-provided filename instead of t ...
GNU Wget 1.12 and earlier uses a server-provided filename instead of the original URL to determine the destination filename of a download, which allows remote servers to create or overwrite arbitrary files via a 3xx redirect to a URL with a .wgetrc filename followed by a 3xx redirect to a URL with a crafted filename, and possibly execute arbitrary code as a consequence of writing to a dotfile in a home directory.
EPSS
6.8 Medium
CVSS2