Amazon Linux AMI:postgresql93/postgresql94、postgresql95(ALAS-2018-1079)

high Nessus プラグイン ID 117603

概要

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

説明

デフォルトのPostgreSQLクライアントライブラリであるlibpqに、接続間で内部状態をlibpqが適切にリセットできない脆弱性が見つかりました。影響を受けるlibpqのバージョンが、信頼できない入力の「host」または「hostaddr」接続パラメーターとともに使用される場合、攻撃者はPQescape()関数の不具合を引き起こすことでクライアント側の接続セキュリティ機能をバイパスし、より高度な権限がある接続へのアクセスを入手するか、SQLインジェクションを通じて別の影響を与える可能性があります。(CVE-2018-10915)「INSERT ON CONFLICT DO UPDATE」に関する特定のステートメントで、PostgreSQLが適切に承認を確認できないことがわかりました。「CREATE TABLE」権限を持つ攻撃者がこれを悪用して、任意のバイトのサーバーメモリを読み取る可能性があります。攻撃者が特定のテーブルに対して特定の「INSERT」権限と「UPDATE」権限も持っていた場合、攻撃者はこれを悪用して同じテーブルの他の列を更新する可能性があります。(CVE-2018-10925)

ソリューション

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

参考資料

https://alas.aws.amazon.com/ALAS-2018-1079.html

プラグインの詳細

深刻度: High

ID: 117603

ファイル名: ala_ALAS-2018-1079.nasl

バージョン: 1.3

タイプ: local

エージェント: unix

公開日: 2018/9/20

更新日: 2018/10/19

サポートされているセンサー: Frictionless Assessment AWS, 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

基本値: 8.1

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

脆弱性情報

CPE: 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, p-cpe:/a:amazon:linux:postgresql95, p-cpe:/a:amazon:linux:postgresql95-contrib, p-cpe:/a:amazon:linux:postgresql95-debuginfo, p-cpe:/a:amazon:linux:postgresql95-devel, p-cpe:/a:amazon:linux:postgresql95-docs, p-cpe:/a:amazon:linux:postgresql95-libs, p-cpe:/a:amazon:linux:postgresql95-plperl, p-cpe:/a:amazon:linux:postgresql95-plpython26, p-cpe:/a:amazon:linux:postgresql95-plpython27, p-cpe:/a:amazon:linux:postgresql95-server, p-cpe:/a:amazon:linux:postgresql95-static, p-cpe:/a:amazon:linux:postgresql95-test, cpe:/o:amazon:linux

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

パッチ公開日: 2018/9/19

参照情報

CVE: CVE-2018-10915, CVE-2018-10925

ALAS: 2018-1079