Lucene search

K
seebugRootSSV:1371
HistoryFeb 07, 2007 - 12:00 a.m.

Samba NSS主机查询Winbind多个远程缓冲区溢出漏洞

2007-02-0700:00:00
Root
www.seebug.org
9

0.001 Low

EPSS

Percentile

47.9%

Samba是一套实现SMB(Server Messages Block)协议、跨平台进行文件共享和打印共享服务的程序。

Sun Solaris的nss_winbind.so.1库实现上存在漏洞,远程攻击者可能利用此漏洞在服务器上执行任意指令。

如果Sun Solaris系统运行Samba的winbindd守护程序且配置为使用nss_winbind.so.1库进行gethostbyname()和getipnodebyname()名称解析查询的话,如:

## /etc/nsswitch.conf
...
ipnodes: files winbind
hosts: files winbind

则在将请求发送给winbindd守护程序之前,在把传送给NSS接口的字符串拷贝到静态缓冲区时可能会触发缓冲区溢出,导致执行任意指令。

Samba Samba 3.0.6 - 3.0.23d
- Sun Solaris 9.0
- Sun Solaris 8.0
- Sun Solaris 10.0
临时解决方法:

  • 从/etc/nsswitch.conf删除winbind项。

厂商补丁:

Samba

目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:

<a href=“http://samba.org/samba/ftp/patches/security/samba-3.0.23d-CVE-2007-0453.patch” target=“_blank”>http://samba.org/samba/ftp/patches/security/samba-3.0.23d-CVE-2007-0453.patch</a>