Amazon Linux AMI:postgresql92 (ALAS-2021-1519)

high Nessus Plugin ID 151513

概要

遠端 Amazon Linux AMI 主機缺少安全性更新。

說明

遠端主機上安裝的 postgresql92 版本早於 9.2.24-3.67。因此,會受到 ALAS-2021-1519 公告中所提及的多個弱點影響。

- 在 postgresql 9.4.x 版的 9.4.24 之前版本、9.5.x 版的 9.5.19 之前版本、9.6.x 版的 9.6.15 之前版本、10.x 版的 10.10 之前版本以及 11.x 版的 11.5 之前版本中發現一個缺陷,在具有適當的 SECURITY DEFINER 函式的情況下,可執行任意 SQL 陳述式。具有函式 EXECUTE 權限的攻擊者可以函式擁有者身分執行任意 SQL。(CVE-2019-10208)

- 在早於 13.1、12.5、11.10、10.15、9.6.20 和 9.5.24 的 PostgreSQL 版本中發現一個缺陷。如果建立額外資料庫連線的用戶端應用程式在中斷安全性相關參數時僅重複使用基本連線參數,則可能發生攔截式攻擊,或允許觀察純文字傳輸。此弱點對於資料的機密性和完整性以及系統可用性威脅最大。
(CVE-2020-25694)

- 在早於 13.1、12.5、11.10、10.15、9.6.20 和 9.5.24 的 PostgreSQL 版本中發現一個缺陷。如果攻擊者有權在至少一個配置中建立非暫存物件,則可以超級使用者的身分執行任意 SQL 函式。此弱點對於資料的機密性和完整性以及系統可用性威脅最大。(CVE-2020-25695)

請注意,Nessus 並未測試此問題,而是僅依據應用程式自我報告的版本號碼。

解決方案

執行「yum update postgresql92」以更新系統。

另請參閱

https://alas.aws.amazon.com/ALAS-2021-1519.html

https://access.redhat.com/security/cve/CVE-2019-10208

https://access.redhat.com/security/cve/CVE-2020-25694

https://access.redhat.com/security/cve/CVE-2020-25695

Plugin 詳細資訊

嚴重性: High

ID: 151513

檔案名稱: ala_ALAS-2021-1519.nasl

版本: 1.3

類型: local

代理程式: unix

已發布: 2021/7/13

已更新: 2022/5/9

支援的感應器: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

風險資訊

VPR

風險因素: Medium

分數: 5.9

CVSS v2

風險因素: Medium

基本分數: 6.8

時間分數: 5

媒介: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS 評分資料來源: CVE-2020-25694

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

CVSS 評分資料來源: CVE-2020-25695

弱點資訊

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, cpe:/o:amazon:linux

必要的 KB 項目: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2021/7/8

弱點發布日期: 2019/8/8

參考資訊

CVE: CVE-2019-10208, CVE-2020-25694, CVE-2020-25695

ALAS: 2021-1519

IAVB: 2019-B-0072-S, 2020-B-0069-S