Amazon Linux AMI:postgresql95、postgresql96 (ALAS-2021-1476)

high Nessus Plugin ID 144988

概要

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

說明

遠端主機上安裝的 postgresql95 版本早於 9.5.24-1.82。遠端主機上安裝的 postgresql96 版本早於 9.6.20-1.84。因此,會受到 ALAS-2021-1476 公告中所提及的多個弱點影響。

- 在早於 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)

- 在早於 13.1、12.5、11.10、10.15、9.6.20 和 9.5.24 的 PostgreSQL 版本之 psql 互動式終端機中發現一個缺陷。如果互動式 psql 工作階段在查詢遭入侵的伺服器時使用 \gset,則攻擊者可以執行 psql 的作業系統帳戶身分執行任意程式碼。此弱點對於資料的機密性和完整性以及系統可用性威脅最大。(CVE-2020-25696)

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

解決方案

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

另請參閱

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

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

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

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

Plugin 詳細資訊

嚴重性: High

ID: 144988

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

版本: 1.3

類型: local

代理程式: unix

已發布: 2021/1/14

已更新: 2022/5/11

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

風險資訊

VPR

風險因素: Medium

分數: 5.9

CVSS v2

風險因素: High

基本分數: 7.6

時間分數: 5.6

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

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

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

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

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2021/1/12

弱點發布日期: 2020/11/12

參考資訊

CVE: CVE-2020-25694, CVE-2020-25695, CVE-2020-25696

ALAS: 2021-1476