安全研究

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

发布日期:2007-02-05
更新日期:2007-02-06

受影响系统:
Samba Samba 3.0.6 - 3.0.23d
    - Sun Solaris 9.0
    - Sun Solaris 8.0
    - Sun Solaris 10.0
不受影响系统:
Samba Samba 3.0.24
描述:
BUGTRAQ  ID: 22410
CVE(CAN) ID: CVE-2007-0453

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接口的字符串拷贝到静态缓冲区时可能会触发缓冲区溢出,导致执行任意指令。

<*来源:Gerald (Jerry) Carter (jerry@samba.org
        Olivier Gay (ouah@ouah.org
  
  链接:http://marc.theaimsgroup.com/?l=bugtraq&m=117070008722682&w=2
*>

建议:
临时解决方法:

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

厂商补丁:

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

http://samba.org/samba/ftp/patches/security/samba-3.0.23d-CVE-2007-0453.patch

浏览次数:3016
严重程度:0(网友投票)
本安全漏洞由绿盟科技翻译整理,版权所有,未经许可,不得转载
绿盟科技给您安全的保障