Amazon Linux AMI:postgresql92 / postgresql93,postgresql94 (ALAS-2016-747)

high Nessus プラグイン ID 93539

概要

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

説明

PostgreSQL サーバーが CASE/WHEN コマンドを含む特定の SQL ステートメントを処理する方法で、欠陥が見つかりました。認証されたリモートの攻撃者が特別に細工されたSQLステートメントを使用して、PostgreSQLをクラッシュまたはサーバーメモリから数バイトを漏洩させたり、任意のコードを実行したりする可能性があります。 (CVE-2016-5423)

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

ソリューション

「yum update postgresql92」を実行してシステムを更新してください。

「yum update postgresql93」を実行してシステムを更新してください。

「yum update postgresql94」を実行してシステムを更新してください。

参考資料

https://alas.aws.amazon.com/ALAS-2016-747.html

プラグインの詳細

深刻度: High

ID: 93539

ファイル名: ala_ALAS-2016-747.nasl

バージョン: 2.6

タイプ: local

エージェント: unix

公開日: 2016/9/16

更新日: 2018/4/18

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

リスク情報

VPR

リスクファクター: Medium

スコア: 5.9

CVSS v2

リスクファクター: Medium

基本値: 6.5

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

CVSS v3

リスクファクター: High

基本値: 8.3

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

脆弱性情報

CPE: p-cpe:/a:amazon:linux:postgresql92, p-cpe:/a:amazon:linux:postgresql92-contrib, p-cpe:/a:amazon:linux:postgresql92-debuginfo, p-cpe:/a:amazon:linux:postgresql92-devel, p-cpe:/a:amazon:linux:postgresql92-docs, p-cpe:/a:amazon:linux:postgresql92-libs, p-cpe:/a:amazon:linux:postgresql92-plperl, p-cpe:/a:amazon:linux:postgresql92-plpython26, p-cpe:/a:amazon:linux:postgresql92-plpython27, p-cpe:/a:amazon:linux:postgresql92-pltcl, p-cpe:/a:amazon:linux:postgresql92-server, p-cpe:/a:amazon:linux:postgresql92-server-compat, p-cpe:/a:amazon:linux:postgresql92-test, p-cpe:/a:amazon:linux:postgresql93, p-cpe:/a:amazon:linux:postgresql93-contrib, p-cpe:/a:amazon:linux:postgresql93-debuginfo, p-cpe:/a:amazon:linux:postgresql93-devel, p-cpe:/a:amazon:linux:postgresql93-docs, p-cpe:/a:amazon:linux:postgresql93-libs, p-cpe:/a:amazon:linux:postgresql93-plperl, p-cpe:/a:amazon:linux:postgresql93-plpython26, p-cpe:/a:amazon:linux:postgresql93-plpython27, p-cpe:/a:amazon:linux:postgresql93-pltcl, p-cpe:/a:amazon:linux:postgresql93-server, p-cpe:/a:amazon:linux:postgresql93-test, p-cpe:/a:amazon:linux:postgresql94, p-cpe:/a:amazon:linux:postgresql94-contrib, p-cpe:/a:amazon:linux:postgresql94-debuginfo, p-cpe:/a:amazon:linux:postgresql94-devel, p-cpe:/a:amazon:linux:postgresql94-docs, p-cpe:/a:amazon:linux:postgresql94-libs, p-cpe:/a:amazon:linux:postgresql94-plperl, p-cpe:/a:amazon:linux:postgresql94-plpython26, p-cpe:/a:amazon:linux:postgresql94-plpython27, p-cpe:/a:amazon:linux:postgresql94-server, p-cpe:/a:amazon:linux:postgresql94-test, cpe:/o:amazon:linux

必要な KB アイテム: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

パッチ公開日: 2016/9/15

参照情報

CVE: CVE-2016-5423, CVE-2016-5424

ALAS: 2016-747