Amazon Linux AMI:php72 (ALAS-2020-1350)

critical Nessus Plugin ID 134572

概要

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

說明

在 7.3.15 之前的 PHP 7.3.x 版和 7.4.3 之前的 PHP 7.4.x 版中,使用 phar 延伸模組在 Windows 上擷取 PHAR 檔案時,PHAR 檔案內的特定內容可能導致一位元組讀取越過已分配緩衝區的資料。這可導致資訊洩漏或損毀。(CVE-2020-7061) 在 7.2.28 之前的 PHP 7.2.x 版、7.3.15 之前的 PHP 7.3.x 版和 7.4.3 之前的 PHP 7.4.x 版中,使用檔案上傳功能時,若啟用上傳處理程序追蹤功能,但又將 session.upload_progress.cleanup 設為 0 (停用),且檔案上傳失敗,則上傳程序會嘗試清除不存在的資料,因此發生 NULL 指標解除參照,進而可能導致當機。(CVE-2020-7062) 在 7.2.28 之前的 PHP 7.2.x 版、7.3.15 之前的 PHP 7.3.x 版和 7.4.3 之前的 PHP 7.4.x 版中,使用 PharData::buildFromIterator() 函式建立 PHAR 封存時,系統會在新增檔案時附加預設權限 (0666,或所有存取),即使檔案系統上的原始檔案具備更多限制性權限亦然。擷取此類封存時,可能會導致檔案的權限比預期的更加寬鬆。(CVE-2020-7063)

解決方案

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

另請參閱

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

Plugin 詳細資訊

嚴重性: Critical

ID: 134572

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

版本: 1.3

類型: local

代理程式: unix

已發布: 2020/3/16

已更新: 2024/3/22

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

風險資訊

VPR

風險因素: Medium

分數: 6.0

CVSS v2

風險因素: Medium

基本分數: 6.4

時間分數: 5

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

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

CVSS v3

風險因素: Critical

基本分數: 9.1

時間分數: 8.2

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

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

弱點資訊

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

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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2020/3/13

弱點發布日期: 2020/2/27

參考資訊

CVE: CVE-2020-7061, CVE-2020-7062, CVE-2020-7063

ALAS: 2020-1350