RHEL 6:postgresql (RHSA-2011:1377)

critical Nessus 插件 ID 56533

简介

远程 Red Hat 主机缺少 postgresql 安全更新。

描述

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

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

在使用 Blowfish 哈希的情况下,发现在 PostgreSQL pgcrypto 模块中的 crypt() 函数处理密码内的 8 位字符的方式中存在符号问题。非 ASCII 字符前最多三个字符(更高位数的字符集则为一个字符)对哈希结果没有影响,因此导致有效密码长度变短。这使得暴力猜测密码的效率更高,因为多个不同密码都通过哈希算法转换成相同的值。(CVE-2011-2483)

注意:由于 CVE-2011-2483 补丁,在安装此更新后,对于那些在后端 PostgreSQL 数据库中存储用户密码,并通过使用 PostgreSQL crypt() 函数的 Blowfish 来对密码进行哈希处理的应用程序而言,某些用户可能无法登录。可通过将哈希前缀更改为“$2x$”,为特定密码重新启用不安全的处理方式(允许受影响的用户登录)。

对于 Red Hat Enterprise Linux 6,这些更新后的 postgresql 程序包将 PostgreSQL 升级到 8.4.9 版。有关完整变更列表,请参阅《PostgreSQL 发行说明》:

http://www.postgresql.org/docs/8.4/static/release.html

对于 Red Hat Enterprise Linux 4 和 5,更新后的 postgresql 程序包包含向后移植的修补程序。

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

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

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

解决方案

请根据 RHSA-2011:1377 中的指南更新 RHEL postgresql 程序包。

另见

http://www.nessus.org/u?4b13a03b

http://www.postgresql.org/docs/8.4/static/release.html

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

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

https://access.redhat.com/errata/RHSA-2011:1377

插件详情

严重性: Critical

ID: 56533

文件名: redhat-RHSA-2011-1377.nasl

版本: 1.21

类型: local

代理: unix

发布时间: 2011/10/18

最近更新时间: 2025/4/14

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

风险信息

VPR

风险因素: Medium

分数: 6.5

Vendor

Vendor Severity: Moderate

CVSS v2

风险因素: Medium

基本分数: 5

时间分数: 3.7

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

CVSS 分数来源: CVE-2011-2483

CVSS v3

风险因素: Critical

基本分数: 10

时间分数: 8.7

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

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

漏洞信息

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

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

易利用性: No known exploits are available

补丁发布日期: 2011/10/17

漏洞发布日期: 2011/8/25

参考资料信息

CVE: CVE-2011-2483

BID: 49241

RHSA: 2011:1377