RHEL 5/6:postgresql 和 postgresql84 (RHSA-2012:1263)

medium Nessus 插件 ID 62088

简介

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

描述

更新后的 postgresql84 和 postgresql 程序包修复了两个安全问题,现在可分别用于 Red Hat Enterprise Linux 5 和 6 。

Red Hat 安全响应团队已将此更新评级为具有中等安全影响。可从“参考”部分中的 CVE 链接获取针对每个漏洞的通用漏洞评分系统 (CVSS) 基本分数,其给出了详细的严重性等级。

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

已发现在解析可扩展样式表语言转换 (XSLT) 时,可选的 PostgreSQL xml2 contrib 模块允许以数据库服务器的权限来读取和写入本地文件及远程 URL。非特权数据库用户可利用此缺陷,通过发送特别构建的 SQL 查询,来读取和写入他们本不应具备访问权限的本地文件(比如数据库的配置文件)及远程 URL。(CVE-2012-3488)

已发现,“xml”数据类型允许使用数据库服务器的权限读取本地文件和远程 URL,以解决提供的 XML 中的 DTD 和实体参考。非特权数据库用户可以利用此缺陷,通过发出特殊构建的 SQL 查询读取其原本没有访问权限的本地文件。
请注意,不会返回文件的全部内容,但可能通过错误消息向用户显示部分内容。
(CVE-2012-3489)

Red Hat 在此感谢 PostgreSQL 项目报告这些问题。上游感谢 Peter Eisentraut 是 CVE-2012-3488 的原始报告者,Noah Misch 是 CVE-2012-3489 的原始报告者。

这些更新后的程序包将 PostgreSQL 升级到 8.4.13 版。有关变更列表,请参阅《PostgreSQL 发行说明》:

http://www.postgresql.org/docs/8.4/static/release-8-4-13.html

建议所有 PostgreSQL 用户升级这些更新后的程序包其中修正了这些问题。如果 postgresql 服务正在运行,它将在安装此更新后自动重新启动。

解决方案

更新受影响的程序包。

另见

https://www.postgresql.org/docs/8.4/release-8-4-13.html

https://access.redhat.com/errata/RHSA-2012:1263

https://access.redhat.com/security/cve/cve-2012-3488

https://access.redhat.com/security/cve/cve-2012-3489

插件详情

严重性: Medium

ID: 62088

文件名: redhat-RHSA-2012-1263.nasl

版本: 1.31

类型: local

代理: unix

发布时间: 2012/9/14

最近更新时间: 2021/1/14

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

风险信息

VPR

风险因素: Medium

分数: 4.4

CVSS v2

风险因素: Medium

基本分数: 4.9

时间分数: 3.6

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

漏洞信息

CPE: p-cpe:/a:redhat:enterprise_linux:postgresql, p-cpe:/a:redhat:enterprise_linux:postgresql-contrib, p-cpe:/a:redhat:enterprise_linux:postgresql-debuginfo, p-cpe:/a:redhat:enterprise_linux:postgresql-devel, p-cpe:/a:redhat:enterprise_linux:postgresql-docs, p-cpe:/a:redhat:enterprise_linux:postgresql-libs, p-cpe:/a:redhat:enterprise_linux:postgresql-plperl, p-cpe:/a:redhat:enterprise_linux:postgresql-plpython, p-cpe:/a:redhat:enterprise_linux:postgresql-pltcl, p-cpe:/a:redhat:enterprise_linux:postgresql-server, p-cpe:/a:redhat:enterprise_linux:postgresql-test, p-cpe:/a:redhat:enterprise_linux:postgresql84, p-cpe:/a:redhat:enterprise_linux:postgresql84-contrib, p-cpe:/a:redhat:enterprise_linux:postgresql84-debuginfo, p-cpe:/a:redhat:enterprise_linux:postgresql84-devel, p-cpe:/a:redhat:enterprise_linux:postgresql84-docs, p-cpe:/a:redhat:enterprise_linux:postgresql84-libs, p-cpe:/a:redhat:enterprise_linux:postgresql84-plperl, p-cpe:/a:redhat:enterprise_linux:postgresql84-plpython, p-cpe:/a:redhat:enterprise_linux:postgresql84-pltcl, p-cpe:/a:redhat:enterprise_linux:postgresql84-python, p-cpe:/a:redhat:enterprise_linux:postgresql84-server, p-cpe:/a:redhat:enterprise_linux:postgresql84-tcl, p-cpe:/a:redhat:enterprise_linux:postgresql84-test, cpe:/o:redhat:enterprise_linux:5, cpe:/o:redhat:enterprise_linux:6, cpe:/o:redhat:enterprise_linux:6.3

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

易利用性: No known exploits are available

补丁发布日期: 2012/9/13

漏洞发布日期: 2012/10/3

参考资料信息

CVE: CVE-2012-3488, CVE-2012-3489

BID: 55072, 55074

RHSA: 2012:1263