GLSA 200407-10: rsync: Directory traversal in rsync daemon

Опасность:средняя
Заголовок:rsync: Directory traversal in rsync daemon
Дата:12.07.2004
Ошибки: #49534
ID:200407-10

Сводка

Under specific conditions, the rsync daemon is vulnerable to a directory traversal allowing to write files outside a sync module.

Назначение

rsync is a utility that provides fast incremental file transfers. It is used to efficiently synchronize files between hosts and is used by emerge to fetch Gentoo's Portage tree. rsyncd is the rsync daemon, which listens to connections from rsync clients.

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

Пакет Уязвимый Нетронутый Архитектура(ы)
net-misc/rsync <= 2.6.0-r1 >= 2.6.0-r2 All supported architectures

Описание

When rsyncd is used without chroot ("use chroot = false" in the rsyncd.conf file), the paths sent by the client are not checked thoroughly enough. If rsyncd is used with read-write permissions ("read only = false"), this vulnerability can be used to write files anywhere with the rights of the rsyncd daemon. With default Gentoo installations, rsyncd runs in a chroot, without write permissions and with the rights of the "nobody" user.

Воздействие

On affected configurations and if the rsync daemon runs under a privileged user, a remote client can exploit this vulnerability to completely compromise the host.

Обход

You should never set the rsync daemon to run with "use chroot = false". If for some reason you have to run rsyncd without a chroot, then you should not set "read only = false".

Решение

All users should update to the latest version of the rsync package.

    # emerge sync

    # emerge -pv ">=net-misc/rsync-2.6.0-r2"
    # emerge ">=net-misc/rsync-2.6.0-r2"

Ссылки

Наличие

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

Опасения?

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

Лицензия

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

Спасибо!