CentOS 5 / 6 : php / php53 (CESA-2012:0019)

medium Nessus Plugin ID 57488

概要

遠端 CentOS 主機缺少一個或多個安全性更新。

說明

現已提供分別適用於 Red Hat Enterprise Linux 5 和 6 的更新版 php53 和 php 套件,可修正兩個安全性問題。

Red Hat 安全性回應團隊已將此更新評等為具有中等安全性影響。可針對每個弱點從〈參照〉一節的 CVE 連結中取得常見弱點評分系統 (CVSS) 的基本分數,其中包含有關嚴重性評等的詳細資訊。

PHP 是一種內嵌 HTML 的指令碼語言,通常用於 Apache HTTP Server。

據發現,PHP 陣列使用的雜湊常式容易發生可預測的雜湊衝突。如果對 PHP 應用程式的 HTTP POST 要求含有名稱對應至相同雜湊值的許多參數,則會消耗大量 CPU 時間。因添加了會限制每次要求的參數處理上限之新組態指示詞 max_input_vars,已經減輕了此瑕疵。預設情況下,max_input_vars 會被設為 1000。
(CVE-2011-4885)

在 PHP exif 延伸模組中發現一個整數溢位瑕疵。在 32 位元系統中,PHP 指令碼嘗試從影像檔中擷取可交換影像檔案格式 (Exif) 詮釋資料時,特製的影像檔可導致 PHP 解譯器損毀,或洩漏其部分記憶體。(CVE-2011-4566)

Red Hat 要感謝 oCERT 報告 CVE-2011-4885。oCERT 確認 Julian Wälde 和 Alexander Klink 為 CVE-2011-4885 的原始報告者。

所有 php53 和 php 使用者皆應升級至這些更新版套件,其中包含可解決這些問題的反向移植修補程式。安裝更新版套件後,必須先重新啟動 httpd 程序,更新才會生效。

解決方案

更新受影響的 php 和/或 php53 套件。

另請參閱

http://www.nessus.org/u?760911ed

http://www.nessus.org/u?a58e3f5d

Plugin 詳細資訊

嚴重性: Medium

ID: 57488

檔案名稱: centos_RHSA-2012-0019.nasl

版本: 1.19

類型: local

代理程式: unix

已發布: 2012/1/12

已更新: 2021/1/4

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

風險資訊

VPR

風險因素: Medium

分數: 6.0

CVSS v2

風險因素: Medium

基本分數: 6.4

時間分數: 5.6

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

CVSS 評分資料來源: CVE-2011-4566

弱點資訊

CPE: p-cpe:/a:centos:centos:php, p-cpe:/a:centos:centos:php-bcmath, p-cpe:/a:centos:centos:php-cli, p-cpe:/a:centos:centos:php-common, p-cpe:/a:centos:centos:php-dba, p-cpe:/a:centos:centos:php-devel, p-cpe:/a:centos:centos:php-embedded, p-cpe:/a:centos:centos:php-enchant, p-cpe:/a:centos:centos:php-gd, p-cpe:/a:centos:centos:php-imap, p-cpe:/a:centos:centos:php-intl, p-cpe:/a:centos:centos:php-ldap, p-cpe:/a:centos:centos:php-mbstring, p-cpe:/a:centos:centos:php-mysql, p-cpe:/a:centos:centos:php-odbc, p-cpe:/a:centos:centos:php-pdo, p-cpe:/a:centos:centos:php-pgsql, p-cpe:/a:centos:centos:php-process, p-cpe:/a:centos:centos:php-pspell, p-cpe:/a:centos:centos:php-recode, p-cpe:/a:centos:centos:php-snmp, p-cpe:/a:centos:centos:php-soap, p-cpe:/a:centos:centos:php-tidy, p-cpe:/a:centos:centos:php-xml, p-cpe:/a:centos:centos:php-xmlrpc, p-cpe:/a:centos:centos:php-zts, p-cpe:/a:centos:centos:php53, p-cpe:/a:centos:centos:php53-bcmath, p-cpe:/a:centos:centos:php53-cli, p-cpe:/a:centos:centos:php53-common, p-cpe:/a:centos:centos:php53-dba, p-cpe:/a:centos:centos:php53-devel, p-cpe:/a:centos:centos:php53-gd, p-cpe:/a:centos:centos:php53-imap, p-cpe:/a:centos:centos:php53-intl, p-cpe:/a:centos:centos:php53-ldap, p-cpe:/a:centos:centos:php53-mbstring, p-cpe:/a:centos:centos:php53-mysql, p-cpe:/a:centos:centos:php53-odbc, p-cpe:/a:centos:centos:php53-pdo, p-cpe:/a:centos:centos:php53-pgsql, p-cpe:/a:centos:centos:php53-process, p-cpe:/a:centos:centos:php53-pspell, p-cpe:/a:centos:centos:php53-snmp, p-cpe:/a:centos:centos:php53-soap, p-cpe:/a:centos:centos:php53-xml, p-cpe:/a:centos:centos:php53-xmlrpc, cpe:/o:centos:centos:5, cpe:/o:centos:centos:6

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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2012/1/11

弱點發布日期: 2011/11/29

可惡意利用

Core Impact

參考資訊

CVE: CVE-2011-4566, CVE-2011-4885

BID: 50907, 51193

RHSA: 2012:0019