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

high Nessus Plugin ID 93539

概要

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

說明

在 PostgreSQL 伺服器處理某些含有 CASE/WHEN 命令的 SQL 陳述式的方式中發現一個缺陷。經驗證的遠端攻擊者可使用特製的 SQL 陳述式,造成 PostgreSQL 損毀,或洩漏幾個位元組的伺服器記憶體,或可能執行任意程式碼。(CVE-2016-5423)

在 PostgreSQL 用戶端程式處理含有新行、歸位字元、雙引號或反斜線的資料庫與角色名稱的方式中,發現一個缺陷。透過特製這類物件名稱,擁有 CREATEDB 或 CREATEROLE 選項的角色可在超級使用者下次使用有弱點的用戶端程式執行維護時,將其權限提升為超級使用者。(CVE-2016-5424)

解決方案

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

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

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

另請參閱

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

Plugin 詳細資訊

嚴重性: 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