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

high Nessus Plugin 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 專案報告這些問題。上游確認 Robert Haas 為 CVE-2017-7484 的原始報告者、Daniel Gustafsson 為 CVE-2017-7485 的原始報告者及 Andrew Wheelwright 為 CVE-2017-7486 的原始報告者。

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

Plugin 詳細資訊

嚴重性: 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