GLSA 200701-28: thttpd: Unauthenticated remote file access

Опасность:низкая
Заголовок:thttpd: Unauthenticated remote file access
Дата:31.01.2007
Ошибки: #142047
ID:200701-28

Сводка

The default configuration of the Gentoo thttpd package potentially allows unauthenticated access to system files when used with newer versions of baselayout.

Назначение

thttpd is a webserver designed to be simple, small, and fast.

Уязвимые пакеты

Пакет Уязвимый Нетронутый Архитектура(ы)
www-servers/thttpd < 2.25b-r6 >= 2.25b-r6 All supported architectures

Описание

thttpd is vulnerable to an underlying change made to the start-stop-daemon command in the current stable Gentoo baselayout package (version 1.12.6). In the new version, the start-stop-daemon command performs a "chdir /" command just before starting the thttpd process. In the Gentoo default configuration, this causes thttpd to start with the document root set to "/", the sytem root directory.

Воздействие

When thttpd starts with the document root set to the system root directory, all files on the system that are readable by the thttpd process can be remotely accessed by unauthenticated users.

Обход

Alter the THTTPD_OPTS variable in /etc/conf.d/thttpd to include the "-d" option to specify the document root. Alternatively, modify the THTTPD_OPTS variable in /etc/conf.d/thttpd to specify a thttpd.conf file using the "-C" option, and then configure the "dir=" directive in that thttpd.conf file.

Решение

All thttpd users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=www-servers/thttpd-2.25b-r5"

Ссылки

Наличие

Этот GLSA и любые обновления для нее доступны для просмотра на сайте Gentoo Security: http://security.gentoo.org/glsa/glsa-200701-28.xml

Опасения?

Безопасность является одной из главных задач Gentoo Linux и первостепенное значение обеспечить конфиденциальность и безопасность машин наших пользователей. Любые соображения безопасности должны быть адресованы security@gentoo.org или в качестве альтернативы, вы можете сообщить об ошибке на https://bugs.gentoo.org.

Лицензия

Copyright 2010 Gentoo Foundation, Inc; текст ссылки принадлежит его владельцу(ам). Содержание этого документа распространяется на условиях лицензии Creative Commons - Attribution / Share Alike.

Спасибо!