GLSA 200711-29: Samba: Execution of arbitrary code

Опасность:высокая
Заголовок:Samba: Execution of arbitrary code
Дата:20.11.2007
Ошибки: #197519
ID:200711-29

Сводка

Samba contains two buffer overflow vulnerabilities potentially resulting in the execution of arbitrary code.

Назначение

Samba is a suite of SMB and CIFS client/server programs for UNIX.

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

Пакет Уязвимый Нетронутый Архитектура(ы)
net-fs/samba < 3.0.27a >= 3.0.27a All supported architectures

Описание

Two vulnerabilities have been reported in nmbd. Alin Rad Pop (Secunia Research) discovered a boundary checking error in the reply_netbios_packet() function which could lead to a stack-based buffer overflow (CVE-2007-5398). The Samba developers discovered a boundary error when processing GETDC logon requests also leading to a buffer overflow (CVE-2007-4572).

Воздействие

To exploit the first vulnerability, a remote unauthenticated attacker could send specially crafted WINS "Name Registration" requests followed by a WINS "Name Query" request. This might lead to execution of arbitrary code with elevated privileges. Note that this vulnerability is exploitable only when WINS server support is enabled in Samba. The second vulnerability could be exploited by sending specially crafted "GETDC" mailslot requests, but requires Samba to be configured as a Primary or Backup Domain Controller. It is not believed the be exploitable to execute arbitrary code.

Обход

To work around the first vulnerability, disable WINS support in Samba by setting "wins support = no" in the "global" section of your smb.conf and restart Samba.

Решение

All Samba users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=net-fs/samba-3.0.27a"

The first vulnerability (CVE-2007-5398) was already fixed in Samba 3.0.26a-r2.

Ссылки

Наличие

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

Опасения?

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

Лицензия

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

Спасибо!