Amazon Linux 2:postgresql (ALASPOSTGRESQL13-2023-004)

high Nessus プラグイン ID 182060

概要

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

説明

リモートホストにインストールされているpostgresqlのバージョンは、13.11-1より前です。したがって、ALAS2POSTGRESQL13-2023-004 のアドバイザリに記載されている脆弱性の影響を受けます。

- EXTENSION スクリプトにおいて、引用構造内の @extowner@、@extschema@、または @extschema: ...@ を使用する場合に、PostgreSQL に SQL インジェクションの脆弱性が見つかりました (ドル引用、''、)。管理者が脆弱な信頼できるバンドルされていない拡張のファイルをインストールしている場合、データベースレベルの CREATE 権限を持つ攻撃者が、ブートストラップスーパーユーザーとして任意のコードを実行する可能性があります。(CVE-2023-39417)

Nessus はこの問題をテストしておらず、代わりにアプリケーションが自己報告するバージョン番号にのみ依存していることに注意してください。

ソリューション

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

参考資料

https://alas.aws.amazon.com/AL2/ALASPOSTGRESQL13-2023-004.html

https://alas.aws.amazon.com/cve/html/CVE-2023-39417.html

https://alas.aws.amazon.com/faqs.html

プラグインの詳細

深刻度: High

ID: 182060

ファイル名: al2_ALASPOSTGRESQL13-2023-004.nasl

バージョン: 1.3

タイプ: local

エージェント: unix

公開日: 2023/9/27

更新日: 2023/12/22

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

リスク情報

VPR

リスクファクター: Medium

スコア: 6.7

CVSS v2

リスクファクター: High

基本値: 9

現状値: 6.7

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

CVSS スコアのソース: CVE-2023-39417

CVSS v3

リスクファクター: High

基本値: 8.8

現状値: 7.7

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

現状ベクトル: CVSS:3.0/E:U/RL:O/RC:C

脆弱性情報

CPE: p-cpe:/a:amazon:linux:postgresql, p-cpe:/a:amazon:linux:postgresql-contrib, p-cpe:/a:amazon:linux:postgresql-debuginfo, p-cpe:/a:amazon:linux:postgresql-docs, p-cpe:/a:amazon:linux:postgresql-llvmjit, p-cpe:/a:amazon:linux:postgresql-plperl, p-cpe:/a:amazon:linux:postgresql-plpython3, p-cpe:/a:amazon:linux:postgresql-pltcl, p-cpe:/a:amazon:linux:postgresql-private-devel, p-cpe:/a:amazon:linux:postgresql-private-libs, p-cpe:/a:amazon:linux:postgresql-server, p-cpe:/a:amazon:linux:postgresql-server-devel, p-cpe:/a:amazon:linux:postgresql-static, p-cpe:/a:amazon:linux:postgresql-test, p-cpe:/a:amazon:linux:postgresql-test-rpm-macros, p-cpe:/a:amazon:linux:postgresql-upgrade, p-cpe:/a:amazon:linux:postgresql-upgrade-devel, cpe:/o:amazon:linux:2

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

エクスプロイトの容易さ: No known exploits are available

パッチ公開日: 2023/9/6

脆弱性公開日: 2023/8/10

参照情報

CVE: CVE-2023-39417

IAVB: 2023-B-0060-S