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 クライアントプログラムが、改行、復帰、二重引用符、またはバックスラッシュを含むデータベース名およびロール名を処理する方法に欠陥が見つかりました。このようなオブジェクト名を細工することで、次回スーパーユーザーが脆弱な Client プログラムで保守作業を実行したとき、CREATEDB または CREATEROLE オプション付きのロールの権限がスーパーユーザーに昇格する可能性があります。(CVE-2016-5424)

* 一部の selectivity estimation 関数では、pg_statistic からの情報を取得する前のユーザーの権限チェックが行われず、情報が漏洩する可能性があることがわかりました。管理者ではないデータベースユーザーがこの欠陥を利用して、権限がなければアクセスできないテーブルから情報を盗む可能性があります。(CVE-2017-7484)

* PostgreSQLクライアントライブラリ(libpq)が、PGREQUIRESSL環境変数を設定するときに、PostgreSQLサーバへの接続にTLS/SSLの使用を実施しないことが発見されました。中間にいる攻撃者がこの欠陥を悪用し、クライアントとサーバーの間での接続から、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 はこれらの問題をテストしておらず、代わりにアプリケーションが自己報告するバージョン番号にのみ依存していることに注意してください。

ソリューション

RHEL rh-postgresql95-postgresql パッケージを、RHSA-2017:2425 のガイダンスに基づいて更新してください。

参考資料

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