Amazon Linux AMI:php55 (ALAS-2014-415)

medium Nessus Plugin ID 78358

概要

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

說明

在檔案資訊 (fileinfo) 延伸模組剖析某些 Composite Document Format (CDF) 檔案的方式中發現拒絕服務瑕疵。遠端攻擊者可利用此瑕疵,透過特製的 CDF 檔案造成使用 fileinfo 的 PHP 應用程式損毀。

在 PHP 5.4.32 版之前的 5.4.x 版和 5.5.16 版之前的 5.5.x 版中,GD 元件的 gd_ctx.c 並未確定路徑名稱缺少 %00 序列,進而允許遠端攻擊者透過應用程式的特製輸入,呼叫 (1) imagegd、(2) imagegd2、(3) imagegif、(4) imagejpeg、(5) imagepng、(6) imagewbmp 或 (7) imagewebp 函式,藉此覆寫任意檔案。

在 PHP 5.4.26 版和之前版本中使用 libgd 時,gdxpm.c 的 gdImageCreateFromXpm 函式允許遠端攻擊者透過 XPM 檔案中的特製色彩表格,造成拒絕服務 (NULL 指標解除參照和應用程式損毀)。

直至 5.19 的檔案 (用於 5.4.32 之前版本和 5.5.16 之前的 5.5.x 版 PHP 的 Fileinfo 元件) 中,cdf.c 的 cdf_read_property_info 函式中存在整數溢位,可允許遠端攻擊者透過特製的 CDF 檔案引發拒絕服務 (應用程式損毀)。注意:
此弱點之所以存在,是因為 CVE-2012-1571 的修正不完整。

解決方案

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

另請參閱

https://alas.aws.amazon.com/ALAS-2014-415.html

Plugin 詳細資訊

嚴重性: Medium

ID: 78358

檔案名稱: ala_ALAS-2014-415.nasl

版本: 1.3

類型: local

代理程式: unix

已發布: 2014/10/12

已更新: 2018/4/18

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

風險資訊

VPR

風險因素: Medium

分數: 4.4

CVSS v2

風險因素: Medium

基本分數: 6.4

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

弱點資訊

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

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

修補程式發佈日期: 2014/9/18

參考資訊

CVE: CVE-2012-1571, CVE-2014-2497, CVE-2014-3587, CVE-2014-5120

ALAS: 2014-415