低危 PostgreSQL up to 10.5/11.0 pg_upgrade/pg_dump SQL注入

CVE编号

CVE-2018-16850

利用情况

暂无

补丁情况

官方补丁

披露时间

2018-11-14
漏洞描述
版本11.1之前的postgresql,10.6很容易受到pg_upgrade中的SQL注入和pg_dump的影响,通过CREATE TRIGGER ... REFERENCING。使用特制的触发器定义,攻击者可以使用超级用户权限运行任意SQL语句。

解决建议
厂商已发布漏洞修复程序,请及时关注更新:
https://www.postgresql.org/about/news/1905/
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 postgresql postgresql * From
(including)
10.0
Up to
(excluding)
10.6
运行在以下环境
应用 postgresql postgresql * From
(including)
11.0
Up to
(excluding)
11.1
运行在以下环境
应用 postgresql postgresql * From
(including)
9.3.0
Up to
(excluding)
9.3.25
运行在以下环境
应用 postgresql postgresql * From
(including)
9.4.0
Up to
(excluding)
9.4.20
运行在以下环境
应用 postgresql postgresql * From
(including)
9.5.0
Up to
(excluding)
9.5.15
运行在以下环境
应用 postgresql postgresql * From
(including)
9.6.0
Up to
(excluding)
9.6.11
运行在以下环境
系统 alpine_3.10 postgresql * Up to
(excluding)
11.1-r0
运行在以下环境
系统 alpine_3.11 postgresql * Up to
(excluding)
11.1-r0
运行在以下环境
系统 alpine_3.12 postgresql * Up to
(excluding)
11.1-r0
运行在以下环境
系统 alpine_3.13 postgresql * Up to
(excluding)
11.1-r0
运行在以下环境
系统 alpine_3.14 postgresql * Up to
(excluding)
11.1-r0
运行在以下环境
系统 alpine_3.15 postgresql14 * Up to
(excluding)
11.1-r0
运行在以下环境
系统 alpine_3.16 postgresql14 * Up to
(excluding)
11.1-r0
运行在以下环境
系统 alpine_3.17 postgresql14 * Up to
(excluding)
11.1-r0
运行在以下环境
系统 alpine_3.18 postgresql14 * Up to
(excluding)
11.1-r0
运行在以下环境
系统 alpine_3.19 postgresql14 * Up to
(excluding)
11.1-r0
运行在以下环境
系统 alpine_3.9 postgresql * Up to
(excluding)
11.1-r0
运行在以下环境
系统 canonical ubuntu_linux 18.04 -
运行在以下环境
系统 canonical ubuntu_linux 18.10 -
运行在以下环境
系统 debian_10 postgresql-11 * Up to
(excluding)
11.1-1
运行在以下环境
系统 opensuse_Leap_15.0 libpq5 * Up to
(excluding)
10.6-lp150.3.6.1
运行在以下环境
系统 opensuse_Leap_42.3 libpq5 * Up to
(excluding)
10.6-5.1
运行在以下环境
系统 redhat enterprise_linux 7.0 -
运行在以下环境
系统 redhat enterprise_linux 7.4 -
运行在以下环境
系统 redhat enterprise_linux 7.5 -
运行在以下环境
系统 redhat enterprise_linux 7.6 -
运行在以下环境
系统 suse_12_SP3 libpq5 * Up to
(excluding)
10.6-1.6.1
运行在以下环境
系统 suse_12_SP4 libpq5 * Up to
(excluding)
10.6-1.6.1
运行在以下环境
系统 ubuntu_18.04 postgresql-10 * Up to
(excluding)
10.6-0ubuntu0.18.04.1
阿里云评分
3.1
  • 攻击路径
    远程
  • 攻击复杂度
    复杂
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    100
CWE-ID 漏洞类型
CWE-89 SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
阿里云安全产品覆盖情况