RHEL 7:php (RHSA-2014:1013)

high Nessus Plugin ID 77016

概要

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

說明

遠端 Redhat Enterprise Linux 7 主機上安裝的套件受到 RHSA-2014:1013 公告中提及的多個弱點影響。

PHP 是一種內嵌 HTML 的指令碼語言,通常用於 Apache HTTP Server。PHP 的 fileinfo 模組所提供的功能可用於根據檔案所包含的資料類型來識別特定檔案。

在偵測 AWK 檔案的檔案資訊 (fileinfo) 延伸模組規則中發現拒絕服務瑕疵。遠端攻擊者可利用此瑕疵,造成使用 fileinfo 的 PHP 應用程式消耗過量的 CPU。(CVE-2013-7345)

在檔案資訊 (fileinfo) 延伸模組剖析某些 Composite Document Format (CDF) 檔案的方式中發現多個拒絕服務瑕疵。
遠端攻擊者可利用這裡的其中一個瑕疵,透過特製的 CDF 檔案造成使用 fileinfo 的 PHP 應用程式損毀。
(CVE-2014-0207、CVE-2014-0237、CVE-2014-0238、CVE-2014-3479、CVE-2014-3480、CVE-2014-3487)

在 PHP 剖析 DNS TXT 記錄的方式中發現堆積型緩衝區溢位瑕疵。如果 PHP 應用程式使用 dns_get_record() 函式執行 DNS 查詢,惡意 DNS 伺服器或攔截式攻擊者可能利用此瑕疵以 PHP 解譯器的身分執行任意程式碼。(CVE-2014-4049)

在 PHP 的 phpinfo() 函式中發現一個類型混淆問題。惡意的指令碼作者可能利用此瑕疵洩漏特定部分的伺服器記憶體。(CVE-2014-4721)

在 SPL ArrayObject 與 SPLObjectStorage 類別的 unserialize() 方法中發現類型混淆問題。能夠提交特製輸入至 PHP 應用程式,然後使用前述其中一種方法還原序列化此輸入的遠端攻擊者,可能會利用此瑕疵以該 PHP 應用程式使用者的權限執行任意程式碼。(CVE-2014-3515)

CVE-2014-0207、CVE-2014-0237、CVE-2014-0238、CVE-2014-3479、CVE-2014-3480 和 CVE-2014-3487 問題是由 Red Hat 產品安全性團隊的 Francisco Alonso 所發現。

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

Tenable 已直接從 Red Hat Enterprise Linux 安全公告擷取前置描述區塊。

請注意,Nessus 並未測試這些問題,而是僅依據應用程式自我報告的版本號碼作出判斷。

解決方案

依據 RHSA-2014:1013 中的指南更新 RHEL php 套件。

另請參閱

http://www.nessus.org/u?5804015a

https://access.redhat.com/errata/RHSA-2014:1013

https://access.redhat.com/security/updates/classification/#moderate

https://bugzilla.redhat.com/show_bug.cgi?id=1079846

https://bugzilla.redhat.com/show_bug.cgi?id=1091842

https://bugzilla.redhat.com/show_bug.cgi?id=1098155

https://bugzilla.redhat.com/show_bug.cgi?id=1098193

https://bugzilla.redhat.com/show_bug.cgi?id=1104858

https://bugzilla.redhat.com/show_bug.cgi?id=1104869

https://bugzilla.redhat.com/show_bug.cgi?id=1107544

https://bugzilla.redhat.com/show_bug.cgi?id=1108447

https://bugzilla.redhat.com/show_bug.cgi?id=1112154

https://bugzilla.redhat.com/show_bug.cgi?id=1116662

Plugin 詳細資訊

嚴重性: High

ID: 77016

檔案名稱: redhat-RHSA-2014-1013.nasl

版本: 1.18

類型: local

代理程式: unix

已發布: 2014/8/6

已更新: 2025/3/20

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

風險資訊

VPR

風險因素: Medium

分數: 6.0

Vendor

Vendor Severity: Moderate

CVSS v2

風險因素: High

基本分數: 7.5

時間性分數: 5.9

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

CVSS 評分資料來源: CVE-2014-3515

CVSS v3

風險因素: High

基本分數: 7.5

時間性分數: 6.7

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

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

CVSS 評分資料來源: CVE-2014-0238

弱點資訊

CPE: p-cpe:/a:redhat:enterprise_linux:php-pspell, p-cpe:/a:redhat:enterprise_linux:php-embedded, p-cpe:/a:redhat:enterprise_linux:php-fpm, p-cpe:/a:redhat:enterprise_linux:php-mysql, p-cpe:/a:redhat:enterprise_linux:php-xml, p-cpe:/a:redhat:enterprise_linux:php-bcmath, p-cpe:/a:redhat:enterprise_linux:php-cli, p-cpe:/a:redhat:enterprise_linux:php-devel, p-cpe:/a:redhat:enterprise_linux:php-enchant, p-cpe:/a:redhat:enterprise_linux:php, p-cpe:/a:redhat:enterprise_linux:php-recode, p-cpe:/a:redhat:enterprise_linux:php-gd, p-cpe:/a:redhat:enterprise_linux:php-mysqlnd, p-cpe:/a:redhat:enterprise_linux:php-ldap, p-cpe:/a:redhat:enterprise_linux:php-snmp, p-cpe:/a:redhat:enterprise_linux:php-odbc, p-cpe:/a:redhat:enterprise_linux:php-xmlrpc, p-cpe:/a:redhat:enterprise_linux:php-mbstring, p-cpe:/a:redhat:enterprise_linux:php-common, p-cpe:/a:redhat:enterprise_linux:php-intl, p-cpe:/a:redhat:enterprise_linux:php-soap, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:php-pdo, p-cpe:/a:redhat:enterprise_linux:php-dba, p-cpe:/a:redhat:enterprise_linux:php-pgsql, p-cpe:/a:redhat:enterprise_linux:php-process

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

修補程式發佈日期: 2014/8/6

弱點發布日期: 2014/3/24

參考資訊

CVE: CVE-2013-7345, CVE-2014-0207, CVE-2014-0237, CVE-2014-0238, CVE-2014-3479, CVE-2014-3480, CVE-2014-3487, CVE-2014-3515, CVE-2014-4049, CVE-2014-4721

CWE: 122, 201, 407, 835, 843

RHSA: 2014:1013