RHEL 6 : rh-postgresql95-postgresql (RHSA-2017:2425)

high Nessus 插件 ID 210311

简介

远程 Red Hat 主机缺少一个或多个 rh-postgresql95-postgresql 安全更新。

描述

远程 Redhat Enterprise Linux 6 主机上安装的程序包受到 RHSA-2017:2425 公告中提及的多个漏洞的影响。

PostgreSQL 是高级对象关系数据库管理系统 (DBMS)。

下列程序包已升级到更高的上游版本:rh-postgresql95-postgresql (9.5.7)。
(BZ#1449701)

安全修复:

* 在 PostgreSQL 服务器处理某些含有 CASE/WHEN 命令的 SQL 语句的方式中发现一个缺陷。经身份验证的远程攻击者可使用特制的 SQL 语句,造成 PostgreSQL 崩溃,或泄露几个字节的服务器内存,或可能执行任意代码。(CVE-2016-5423)

* 在 PostgreSQL 客户端程序处理含有新行、回车符、双引号或反斜线的数据库与角色名称的方式中发现一个缺陷。通过构建这类对象名称,拥有 CREATEDB 或 CREATEROLE 选项的角色可在超级用户下次使用有漏洞的客户端程序执行维护时,将其权限提升为超级用户。(CVE-2016-5424)

* 已发现一些选择性评估函数未在 pg_statistic 提供信息之前检查用户权限,可能会泄露信息。非管理数据库用户可利用此缺陷,从表格盗取无权访问的一些信息。(CVE-2017-7484)

* 据发现,在设定 PGREQUIRESSL 环境变量时,PostgreSQL 客户端库 (libpq) 未强制将 TLS/SSL 用于 PostgreSQL 服务器连接。中间人攻击者可利用此缺陷将 SSL/TLS 保护从客户端与服务器之间的连接中剥离。(CVE-2017-7485)

* 已发现 pg_user_mappings 视图可以向非管理数据库用户泄露外部数据库用户映射信息。对此映射具有 USAGE 权限的数据库用户在查询视图时,可以获取用户映射数据,例如用于连接到外部数据库的用户名和密码。(CVE-2017-7486)

Red Hat 在此感谢 PostgreSQL 项目报告这些问题。上游感谢 CVE-2017-7484 的原始报告者 Robert Haas;CVE-2017-7485 的原始报告者 Daniel Gustafsson 以及 CVE-2017-7486 的原始报告者 Andrew Wheelwright。

Tenable 已直接从 Red Hat Enterprise Linux 安全公告中提取上述描述块。

请注意,Nessus 尚未测试这些问题,而是只依据应用程序自我报告的版本号进行判断。

解决方案

请根据 RHSA-2017:2425 中的指南更新 RHEL rh-postgresql95-postgresql 程序包。

另见

https://access.redhat.com/security/updates/classification/#moderate

https://bugzilla.redhat.com/show_bug.cgi?id=1364001

https://bugzilla.redhat.com/show_bug.cgi?id=1364002

https://bugzilla.redhat.com/show_bug.cgi?id=1434418

https://bugzilla.redhat.com/show_bug.cgi?id=1448078

https://bugzilla.redhat.com/show_bug.cgi?id=1448086

https://bugzilla.redhat.com/show_bug.cgi?id=1448089

http://www.nessus.org/u?6094c398

https://access.redhat.com/errata/RHSA-2017:2425

插件详情

严重性: High

ID: 210311

文件名: redhat-RHSA-2017-2425.nasl

版本: 1.1

类型: local

代理: unix

发布时间: 2024/11/5

最近更新时间: 2024/11/5

支持的传感器: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

风险信息

VPR

风险因素: Medium

分数: 5.9

Vendor

Vendor Severity: Moderate

CVSS v2

风险因素: Medium

基本分数: 6.5

时间分数: 4.8

矢量: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS 分数来源: CVE-2016-5423

CVSS v3

风险因素: High

基本分数: 8.3

时间分数: 7.2

矢量: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H

时间矢量: CVSS:3.0/E:U/RL:O/RC:C

漏洞信息

CPE: p-cpe:/a:redhat:enterprise_linux:spacewalk-backend-package-push-server, p-cpe:/a:redhat:enterprise_linux:rh-postgresql95-postgresql-server, cpe:/o:redhat:enterprise_linux:6, p-cpe:/a:redhat:enterprise_linux:spacewalk-dobby, p-cpe:/a:redhat:enterprise_linux:spacewalk-backend-sql-postgresql, p-cpe:/a:redhat:enterprise_linux:spacewalk-backend-app, p-cpe:/a:redhat:enterprise_linux:spacewalk-backend-libs, p-cpe:/a:redhat:enterprise_linux:spacewalk-backend-xmlrpc, p-cpe:/a:redhat:enterprise_linux:rh-postgresql95-postgresql-pltcl, p-cpe:/a:redhat:enterprise_linux:spacewalk-utils, p-cpe:/a:redhat:enterprise_linux:spacewalk-backend-config-files, p-cpe:/a:redhat:enterprise_linux:rh-postgresql95-runtime, p-cpe:/a:redhat:enterprise_linux:spacewalk-base-minimal, p-cpe:/a:redhat:enterprise_linux:spacewalk-sniglets, p-cpe:/a:redhat:enterprise_linux:rh-postgresql95-postgresql-contrib, p-cpe:/a:redhat:enterprise_linux:spacewalk-base, p-cpe:/a:redhat:enterprise_linux:spacewalk-pxt, p-cpe:/a:redhat:enterprise_linux:spacewalk-backend-config-files-common, p-cpe:/a:redhat:enterprise_linux:rh-postgresql95-postgresql-libs, p-cpe:/a:redhat:enterprise_linux:spacewalk-backend, p-cpe:/a:redhat:enterprise_linux:spacewalk-setup-postgresql, p-cpe:/a:redhat:enterprise_linux:spacewalk-backend-sql-oracle, p-cpe:/a:redhat:enterprise_linux:spacewalk-html, p-cpe:/a:redhat:enterprise_linux:spacewalk-backend-server, p-cpe:/a:redhat:enterprise_linux:spacewalk-backend-iss-export, p-cpe:/a:redhat:enterprise_linux:spacewalk-grail, p-cpe:/a:redhat:enterprise_linux:spacewalk-backend-xml-export-libs, p-cpe:/a:redhat:enterprise_linux:spacewalk-web, p-cpe:/a:redhat:enterprise_linux:spacewalk-backend-iss, p-cpe:/a:redhat:enterprise_linux:spacewalk-base-minimal-config, p-cpe:/a:redhat:enterprise_linux:spacewalk-backend-sql, p-cpe:/a:redhat:enterprise_linux:spacewalk-backend-applet, p-cpe:/a:redhat:enterprise_linux:spacewalk-postgresql-server, p-cpe:/a:redhat:enterprise_linux:rh-postgresql95-postgresql, p-cpe:/a:redhat:enterprise_linux:spacewalk-backend-config-files-tool, p-cpe:/a:redhat:enterprise_linux:spacewalk-backend-tools

必需的 KB 项: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

易利用性: No known exploits are available

补丁发布日期: 2017/8/7

漏洞发布日期: 2016/8/4

参考资料信息

CVE: CVE-2016-5423, CVE-2016-5424, CVE-2017-7484, CVE-2017-7485, CVE-2017-7486

CWE: 20, 285, 390, 822, 862

RHSA: 2017:2425