低危 缓冲区溢出特权提高编码执行

CVE编号

CVE-2018-1083

利用情况

暂无

补丁情况

官方补丁

披露时间

2018-03-29
漏洞描述
版本5.4.2-test-1之前的Zsh容易受到shell自动完成功能中的缓冲区溢出的影响。本地非特权用户可以创建特制的目录路径,该路径导致在尝试使用自动完成来遍历前面提到的路径的用户的上下文中执行代码。如果受影响的用户具有特权,则会导致权限升级。

解决建议
目前厂商已发布升级补丁以修复漏洞,补丁获取链接:
https://sourceforge.net/p/zsh/code/ci/259ac472eac291c8c103c7a0d8a4eaf3c2942ed7
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 zsh zsh * Up to
(including)
5.4.1
运行在以下环境
系统 alpine_3.10 zsh * Up to
(excluding)
5.4.2-r1
运行在以下环境
系统 alpine_3.11 zsh * Up to
(excluding)
5.4.2-r1
运行在以下环境
系统 alpine_3.12 zsh * Up to
(excluding)
5.4.2-r1
运行在以下环境
系统 alpine_3.13 zsh * Up to
(excluding)
5.4.2-r1
运行在以下环境
系统 alpine_3.14 zsh * Up to
(excluding)
5.4.2-r1
运行在以下环境
系统 alpine_3.15 zsh * Up to
(excluding)
5.4.2-r1
运行在以下环境
系统 alpine_3.16 zsh * Up to
(excluding)
5.4.2-r1
运行在以下环境
系统 alpine_3.17 zsh * Up to
(excluding)
5.4.2-r1
运行在以下环境
系统 alpine_3.18 zsh * Up to
(excluding)
5.4.2-r1
运行在以下环境
系统 alpine_3.19 zsh * Up to
(excluding)
5.4.2-r1
运行在以下环境
系统 alpine_3.4 zsh * Up to
(excluding)
5.2-r2
运行在以下环境
系统 alpine_3.5 zsh * Up to
(excluding)
5.2-r4
运行在以下环境
系统 alpine_3.6 zsh * Up to
(excluding)
5.3.1-r1
运行在以下环境
系统 alpine_3.7 zsh * Up to
(excluding)
5.4.2-r1
运行在以下环境
系统 alpine_3.8 zsh * Up to
(excluding)
5.4.2-r1
运行在以下环境
系统 alpine_3.9 zsh * Up to
(excluding)
5.4.2-r1
运行在以下环境
系统 amazon_2 zsh * Up to
(excluding)
5.5.1-1.amzn2
运行在以下环境
系统 amazon_AMI zsh * Up to
(excluding)
5.0.2-31.17.amzn1
运行在以下环境
系统 centos_6 zsh * Up to
(excluding)
4.3.11-8.el6.centos
运行在以下环境
系统 centos_7 zsh * Up to
(excluding)
5.0.2-31.el7
运行在以下环境
系统 debian_10 zsh * Up to
(excluding)
5.4.2-4
运行在以下环境
系统 debian_11 zsh * Up to
(excluding)
5.4.2-4
运行在以下环境
系统 debian_12 zsh * Up to
(excluding)
5.4.2-4
运行在以下环境
系统 debian_7 zsh * Up to
(excluding)
4.3.17-1+deb7u2
运行在以下环境
系统 debian_9 zsh * Up to
(excluding)
5.3.1-4+deb9u1
运行在以下环境
系统 fedora_27 zsh * Up to
(excluding)
5.4.1-3.fc27
运行在以下环境
系统 fedora_28 zsh * Up to
(excluding)
5.5-1.fc28
运行在以下环境
系统 fedora_29 qemu-block-rbd * Up to
(excluding)
3.0.0-2.fc29
运行在以下环境
系统 opensuse_Leap_15.0 zsh * Up to
(excluding)
5.5-lp150.2.3.1
运行在以下环境
系统 opensuse_Leap_42.3 zsh * Up to
(excluding)
5.6.2-9.6.1
运行在以下环境
系统 oracle_6 zsh * Up to
(excluding)
4.3.11-8.el6
运行在以下环境
系统 oracle_7 zsh * Up to
(excluding)
5.0.2-31.el7
运行在以下环境
系统 redhat_7 zsh * Up to
(excluding)
5.0.2-31.el7
运行在以下环境
系统 suse_11_SP4 xen * Up to
(excluding)
4.4.4_38-61.40.1
运行在以下环境
系统 suse_12_SP3 zsh * Up to
(excluding)
5.0.5-6.7.2
运行在以下环境
系统 ubuntu_16.04 zsh * Up to
(excluding)
5.1.1-1ubuntu2.2
阿里云评分
2.6
  • 攻击路径
    本地
  • 攻击复杂度
    复杂
  • 权限要求
    普通权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    100
CWE-ID 漏洞类型
CWE-119 内存缓冲区边界内操作的限制不恰当
阿里云安全产品覆盖情况