低危 Samba内存损坏特权升级

CVE编号

CVE-2016-2123

利用情况

暂无

补丁情况

官方补丁

披露时间

2018-11-02
漏洞描述
在samba版本4.0.0到4.5.2中发现了一个漏洞。 Samba例程ndr_pull_dnsp_name包含整数换行问题,导致攻击者控制的内存覆盖。 ndr_pull_dnsp_name解析Samba Active Directory ldb数据库中的数据。任何可以通过LDAP写入dnsRecord属性的用户都可以触发此内存损坏。默认情况下,所有经过身份验证的LDAP用户都可以在新DNS对象上写入dnsRecord属性。这使缺陷成为远程权限升级。

解决建议
目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接:
https://www.samba.org/samba/security/CVE-2016-2123.html
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 samba samba * From
(including)
4.0.0
Up to
(including)
4.5.2
运行在以下环境
系统 alpine_3.2 samba * Up to
(excluding)
4.2.14-r1
运行在以下环境
系统 alpine_3.3 samba * Up to
(excluding)
4.2.14-r1
运行在以下环境
系统 alpine_3.4 samba * Up to
(excluding)
4.4.5-r2
运行在以下环境
系统 debian DPKG * Up to
(excluding)
2:4.5.2+dfsg-2
运行在以下环境
系统 debian_10 samba * Up to
(excluding)
2:4.5.2+dfsg-2
运行在以下环境
系统 debian_11 samba * Up to
(excluding)
2:4.5.2+dfsg-2
运行在以下环境
系统 debian_12 samba * Up to
(excluding)
2:4.5.2+dfsg-2
运行在以下环境
系统 opensuse_Leap_42.1 libndr-krb5pac0 * Up to
(excluding)
4.2.4-24.1
运行在以下环境
系统 opensuse_Leap_42.2 libndr-krb5pac0 * Up to
(excluding)
4.4.2-9.1
运行在以下环境
系统 suse_12 libdcerpc-binding0 * Up to
(excluding)
4.6.5+git.27.6afd48b1083-2
运行在以下环境
系统 suse_12_SP1 libsamba-hostconfig0-32bit * Up to
(excluding)
4.2.4-28.3.1
运行在以下环境
系统 suse_12_SP2 libdcerpc-atsvc0 * Up to
(excluding)
4.4.2-31.1
运行在以下环境
系统 ubuntu_14.04 samba * Up to
(excluding)
2:4.3.11+dfsg-0ubuntu0.14.04.4
运行在以下环境
系统 ubuntu_14.04.6_lts samba * Up to
(excluding)
2:4.3.11+dfsg-0ubuntu0.14.04.4
运行在以下环境
系统 ubuntu_16.04 samba * Up to
(excluding)
2:4.3.11+dfsg-0ubuntu0.16.04.3
运行在以下环境
系统 ubuntu_16.04.7_lts samba * Up to
(excluding)
2:4.3.11+dfsg-0ubuntu0.16.04.3
阿里云评分
2.7
  • 攻击路径
    远程
  • 攻击复杂度
    复杂
  • 权限要求
    普通权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    100
CWE-ID 漏洞类型
CWE-119 内存缓冲区边界内操作的限制不恰当
CWE-122 堆缓冲区溢出
阿里云安全产品覆盖情况