Debian DLA-1464-1: postgresql-9.4のセキュリティ更新

high Nessus プラグイン ID 111762

概要

リモートの Debian ホストにセキュリティ更新プログラムがありません。

説明

dblinkまたはpostgres_fdwの権限のないユーザーが、サーバーを実行するオペレーティングシステムのユーザーが所有する~/.pgpassファイルなどのサーバー側の認証情報の使用を防ぐためのチェックをバイパスする可能性があります。
ローカル接続でピア認証が可能なサーバーは、特に脆弱です。postgres_fdwセッションへのSQLインジェクションなど、他の攻撃も可能です。この方法でpostgres_fdwを攻撃するには、選択した接続パラメーターで外部サーバーオブジェクトを作成できる必要がありますが、dblinkにアクセスできるユーザーがこの問題を悪用する可能性があります。一般に、libpqを使用しているアプリケーションの接続パラメーターを選択できる攻撃者が危害を加える可能性がありますが、他のもっともらしい攻撃シナリオを考えるのは困難です。この問題を報告してくださったAndrew Krasichkov氏に感謝の意を表します。

Debian 8「Jessie」では、この問題はバージョン9.4.19-0+deb8u1で修正されました。

postgresql-9.4パッケージをアップグレードすることをお勧めします。

注: Tenable Network Securityは、前述の記述ブロックをDLAセキュリティアドバイザリーから直接抽出しています。Tenableでは、新たな問題を持ち込まずに、できる限り自動的に整理して書式設定するようにしています。

ソリューション

影響を受けるパッケージをアップグレードしてください。

参考資料

https://lists.debian.org/debian-lts-announce/2018/08/msg00012.html

https://packages.debian.org/source/jessie/postgresql-9.4

プラグインの詳細

深刻度: High

ID: 111762

ファイル名: debian_DLA-1464.nasl

バージョン: 1.4

タイプ: local

エージェント: unix

公開日: 2018/8/16

更新日: 2021/1/11

サポートされているセンサー: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

リスク情報

VPR

リスクファクター: Medium

スコア: 5.9

CVSS v2

リスクファクター: Medium

基本値: 6

ベクトル: CVSS2#AV:N/AC:M/Au:S/C:P/I:P/A:P

CVSS v3

リスクファクター: High

基本値: 7.5

ベクトル: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

脆弱性情報

CPE: p-cpe:/a:debian:debian_linux:libecpg-compat3, p-cpe:/a:debian:debian_linux:libecpg-dev, p-cpe:/a:debian:debian_linux:libecpg6, p-cpe:/a:debian:debian_linux:libpgtypes3, p-cpe:/a:debian:debian_linux:libpq-dev, p-cpe:/a:debian:debian_linux:libpq5, p-cpe:/a:debian:debian_linux:postgresql-9.4, p-cpe:/a:debian:debian_linux:postgresql-9.4-dbg, p-cpe:/a:debian:debian_linux:postgresql-client-9.4, p-cpe:/a:debian:debian_linux:postgresql-contrib-9.4, p-cpe:/a:debian:debian_linux:postgresql-doc-9.4, p-cpe:/a:debian:debian_linux:postgresql-plperl-9.4, p-cpe:/a:debian:debian_linux:postgresql-plpython-9.4, p-cpe:/a:debian:debian_linux:postgresql-plpython3-9.4, p-cpe:/a:debian:debian_linux:postgresql-pltcl-9.4, p-cpe:/a:debian:debian_linux:postgresql-server-dev-9.4, cpe:/o:debian:debian_linux:8.0

必要な KB アイテム: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

パッチ公開日: 2018/8/15

参照情報

CVE: CVE-2018-10915