Amazon Linux AMI:php73 (ALAS-2020-1368)

high Nessus Plugin ID 136629

概要

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

說明

在 7.2.x 之前的 7.2.9 版、7.3.x 之前的 7.3.16 版和 7.4.x 之前的 7.4.34 版等 PHP 版本中,使用 exif_read_data() 函式剖析 EXIF 資料時,惡意資料可能會造成 PHP 讀取未初始化記憶體的一個位元組。此問題可能導致資訊洩漏或損毀。(CVE-2020-7064)

在 7.3.16 之前的 7.3.x 版和 7.4.34 之前的 7.4.x 版等 PHP 版本中,使用具有 UTF-32LE 編碼的 mb_strtolower() 函式時,某些無效字串可能會導致 PHP 覆寫堆疊配置的緩衝區。此問題可導致記憶體損毀、當機,並可能執行程式碼。(CVE-2020-7065)

在 7.2.x 之前的 7.2.29 版、7.3.x 之前的 7.3.16 版以及 7.4.x 之前的 7.4.4 版等 PHP 版本中,使用具有使用者提供之 URL 的 get_headers() 時,若 URL 包含零 (\0) 字元,則 URL 會在無訊息的位置將其截斷。此問題可能造成某些軟體對 get_headers() 目標做出不正確的假設,且可能將部分資訊傳送至錯誤的伺服器。(CVE-2020-7066)

在 7.2.30 之前的 7.2.x 版、7.3.17 之前的 7.3.x 版和 7.4.5 之前的 7.4.x 版等 PHP 版本中,若透過 EBCDIC 支援 (不常見) 來組譯 PHP,則可讓 urldecode() 函式存取超出配置記憶體的位置,這是誤將帶有正負號的數字用做陣列索引所致。
(CVE-2020-7067)

解決方案

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

另請參閱

https://alas.aws.amazon.com/ALAS-2020-1368.html

Plugin 詳細資訊

嚴重性: High

ID: 136629

檔案名稱: ala_ALAS-2020-1368.nasl

版本: 1.4

類型: local

代理程式: unix

已發布: 2020/5/15

已更新: 2024/3/12

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: Medium

基本分數: 6.8

時間分數: 5.3

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

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

CVSS v3

風險因素: High

基本分數: 8.8

時間分數: 7.9

媒介: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

時間媒介: CVSS:3.0/E:P/RL:O/RC:C

弱點資訊

CPE: p-cpe:/a:amazon:linux:php73, p-cpe:/a:amazon:linux:php73-bcmath, p-cpe:/a:amazon:linux:php73-cli, p-cpe:/a:amazon:linux:php73-common, p-cpe:/a:amazon:linux:php73-dba, p-cpe:/a:amazon:linux:php73-dbg, p-cpe:/a:amazon:linux:php73-debuginfo, p-cpe:/a:amazon:linux:php73-devel, p-cpe:/a:amazon:linux:php73-embedded, p-cpe:/a:amazon:linux:php73-enchant, p-cpe:/a:amazon:linux:php73-fpm, p-cpe:/a:amazon:linux:php73-gd, p-cpe:/a:amazon:linux:php73-gmp, p-cpe:/a:amazon:linux:php73-imap, p-cpe:/a:amazon:linux:php73-intl, p-cpe:/a:amazon:linux:php73-json, p-cpe:/a:amazon:linux:php73-ldap, p-cpe:/a:amazon:linux:php73-mbstring, p-cpe:/a:amazon:linux:php73-mysqlnd, p-cpe:/a:amazon:linux:php73-odbc, p-cpe:/a:amazon:linux:php73-opcache, p-cpe:/a:amazon:linux:php73-pdo, p-cpe:/a:amazon:linux:php73-pdo-dblib, p-cpe:/a:amazon:linux:php73-pgsql, p-cpe:/a:amazon:linux:php73-process, p-cpe:/a:amazon:linux:php73-pspell, p-cpe:/a:amazon:linux:php73-recode, p-cpe:/a:amazon:linux:php73-snmp, p-cpe:/a:amazon:linux:php73-soap, p-cpe:/a:amazon:linux:php73-tidy, p-cpe:/a:amazon:linux:php73-xml, p-cpe:/a:amazon:linux:php73-xmlrpc, cpe:/o:amazon:linux

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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2020/5/14

弱點發布日期: 2020/4/1

參考資訊

CVE: CVE-2020-7064, CVE-2020-7065, CVE-2020-7066, CVE-2020-7067

ALAS: 2020-1368