低危 某些主机连接参数会破坏客户端安全防御

CVE编号

CVE-2018-10915

利用情况

暂无

补丁情况

官方补丁

披露时间

2018-08-10
漏洞描述
在libpq(默认PostgreSQL客户端库)中发现了一个漏洞,libpq未能正确重置连接之间的内部状态。如果受影响的libpq版本与来自不可信输入的“host”或“hostaddr”连接参数一起使用,则攻击者可以绕过客户端连接安全特性,通过SQL注入获得对更高特权连接的访问权,或者通过导致PQescape()函数发生故障而潜在地造成其他影响。10.5、9.6.10、9.5.14、9.4.19和9.3.24之前的Postgresql版本都会受到影响。

解决建议
目前厂商已发布升级补丁以修复漏洞,补丁获取链接:
https://www.postgresql.org/about/news/1878/
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 postgresql postgresql * From
(including)
10.0
Up to
(excluding)
10.5
运行在以下环境
应用 postgresql postgresql * From
(including)
9.3.0
Up to
(excluding)
9.3.24
运行在以下环境
应用 postgresql postgresql * From
(including)
9.4.0
Up to
(excluding)
9.4.19
运行在以下环境
应用 postgresql postgresql * From
(including)
9.5.0
Up to
(excluding)
9.5.14
运行在以下环境
应用 postgresql postgresql * From
(including)
9.6.0
Up to
(excluding)
9.6.10
运行在以下环境
应用 redhat openstack 12.0 -
运行在以下环境
应用 redhat openstack 13.0 -
运行在以下环境
应用 redhat virtualization 4.0 -
运行在以下环境
系统 alpine_3.10 postgresql * Up to
(excluding)
10.5-r0
运行在以下环境
系统 alpine_3.11 postgresql * Up to
(excluding)
10.5-r0
运行在以下环境
系统 alpine_3.12 postgresql * Up to
(excluding)
10.5-r0
运行在以下环境
系统 alpine_3.13 postgresql * Up to
(excluding)
10.5-r0
运行在以下环境
系统 alpine_3.14 postgresql * Up to
(excluding)
10.5-r0
运行在以下环境
系统 alpine_3.15 postgresql14 * Up to
(excluding)
10.5-r0
运行在以下环境
系统 alpine_3.16 postgresql14 * Up to
(excluding)
10.5-r0
运行在以下环境
系统 alpine_3.17 postgresql14 * Up to
(excluding)
10.5-r0
运行在以下环境
系统 alpine_3.18 postgresql14 * Up to
(excluding)
10.5-r0
运行在以下环境
系统 alpine_3.19 postgresql14 * Up to
(excluding)
10.5-r0
运行在以下环境
系统 alpine_3.5 postgresql * Up to
(excluding)
9.6.10-r0
运行在以下环境
系统 alpine_3.6 postgresql * Up to
(excluding)
9.6.10-r0
运行在以下环境
系统 alpine_3.7 postgresql * Up to
(excluding)
10.5-r0
运行在以下环境
系统 alpine_3.8 postgresql * Up to
(excluding)
10.5-r0
运行在以下环境
系统 alpine_3.9 postgresql * Up to
(excluding)
10.5-r0
运行在以下环境
系统 amazon_2 postgresql * Up to
(excluding)
9.2.24-1.amzn2.0.1
运行在以下环境
系统 amazon_AMI postgresql96 * Up to
(excluding)
9.6.10-1.81.amzn1
运行在以下环境
系统 canonical ubuntu_linux 14.04 -
运行在以下环境
系统 canonical ubuntu_linux 16.04 -
运行在以下环境
系统 canonical ubuntu_linux 18.04 -
运行在以下环境
系统 centos_7 postgresql * Up to
(excluding)
9.2.24-1.el7_5
运行在以下环境
系统 debian debian_linux 8.0 -
运行在以下环境
系统 debian debian_linux 9.0 -
运行在以下环境
系统 debian_8 postgresql-9.4 * Up to
(excluding)
9.4.26-0+deb8u1
运行在以下环境
系统 debian_9 postgresql-9.6 * Up to
(excluding)
9.6.10-0+deb9u1
运行在以下环境
系统 fedora_27 postgresql-docs * Up to
(excluding)
9.6.10-1.fc27
运行在以下环境
系统 fedora_28 postgresql-docs * Up to
(excluding)
10.5-1.fc28
运行在以下环境
系统 opensuse_Leap_15.0 libpq5 * Up to
(excluding)
10.5-lp150.3.3.1
运行在以下环境
系统 opensuse_Leap_15.1 libpq5 * Up to
(excluding)
10.13-lp151.2.14.1
运行在以下环境
系统 opensuse_Leap_42.3 postgresql96 * Up to
(excluding)
9.6.10-21.1
运行在以下环境
系统 oracle_7 postgresql * Up to
(excluding)
9.2.24-1.el7_5
运行在以下环境
系统 redhat enterprise_linux_desktop 7.0 -
运行在以下环境
系统 redhat enterprise_linux_server 7.0 -
运行在以下环境
系统 redhat enterprise_linux_server_eus 7.5 -
运行在以下环境
系统 redhat enterprise_linux_workstation 7.0 -
运行在以下环境
系统 redhat_7 postgresql * Up to
(excluding)
9.2.24-1.el7_5
运行在以下环境
系统 suse_11_SP4 libpq5 * Up to
(excluding)
9.4.19-0.23.19.1
运行在以下环境
系统 suse_12_SP3 postgresql96 * Up to
(excluding)
9.6.10-3.22.7
运行在以下环境
系统 ubuntu_14.04 postgresql-9.3 * Up to
(excluding)
9.3.24-0ubuntu0.14.04
运行在以下环境
系统 ubuntu_16.04 postgresql-9.5 * Up to
(excluding)
9.5.14-0ubuntu0.16.04
运行在以下环境
系统 ubuntu_18.04 postgresql-10 * Up to
(excluding)
10.5-0ubuntu0.18.04
阿里云评分
2.4
  • 攻击路径
    远程
  • 攻击复杂度
    困难
  • 权限要求
    普通权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    100
CWE-ID 漏洞类型
CWE-89 SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
阿里云安全产品覆盖情况