RHEL 5 / 6:php (RHSA-2012:0546)

critical Nessus Plugin ID 59030

概要

遠端 Red Hat 主機缺少 php 的安全性更新。

說明

遠端 Redhat Enterprise Linux 5 / 6 主機上安裝的套件受到 RHSA-2012:0546 公告中提及的弱點影響。

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

當執行於 CGI 模式時,在 php-cgi 可執行程式處理命令列引數的方式中發現一個瑕疵。遠端攻擊者可傳送特製要求到 PHP 指令碼,造成 php-cgi 將查詢字串作為命令列選項及引數進行剖析。這可造成指令碼的原始程式碼發生洩漏,或是以 PHP 解譯器的特權來執行任意程式碼。(CVE-2012-1823)

Red Hat 已覺察這個問題會遭到公開惡意利用,使得遠端程式碼能在在受影響的 PHP CGI 組態中執行。此瑕疵不會影響使用 Apache httpd 的 PHP 模組來處理 PHP 指令碼之 Red Hat Enterprise Linux 5 及 6 的預設組態。

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

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

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

解決方案

根據 RHSA-2012:0546 中的指南更新 RHEL php 套件。

另請參閱

http://www.nessus.org/u?3334210e

https://access.redhat.com/errata/RHSA-2012:0546

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

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

Plugin 詳細資訊

嚴重性: Critical

ID: 59030

檔案名稱: redhat-RHSA-2012-0546.nasl

版本: 1.31

類型: local

代理程式: unix

已發布: 2012/5/8

已更新: 2024/11/4

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

風險資訊

VPR

風險因素: High

分數: 8.9

Vendor

Vendor Severity: Critical

CVSS v2

風險因素: High

基本分數: 7.5

時間性分數: 6.5

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

CVSS 評分資料來源: CVE-2012-1823

CVSS v3

風險因素: Critical

基本分數: 9.8

時間性分數: 9.4

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

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

弱點資訊

CPE: p-cpe:/a:redhat:enterprise_linux:php-pspell, p-cpe:/a:redhat:enterprise_linux:php-zts, cpe:/o:redhat:enterprise_linux:6, p-cpe:/a:redhat:enterprise_linux:php-embedded, p-cpe:/a:redhat:enterprise_linux:php-mysql, p-cpe:/a:redhat:enterprise_linux:php-xml, p-cpe:/a:redhat:enterprise_linux:php-ncurses, 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-tidy, p-cpe:/a:redhat:enterprise_linux:php-recode, cpe:/o:redhat:enterprise_linux:5, p-cpe:/a:redhat:enterprise_linux:php-gd, p-cpe:/a:redhat:enterprise_linux:php-snmp, p-cpe:/a:redhat:enterprise_linux:php-ldap, p-cpe:/a:redhat:enterprise_linux:php-imap, 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, 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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2012/5/7

弱點發布日期: 2012/5/11

CISA 已知遭惡意利用弱點到期日: 2022/4/15

可惡意利用

CANVAS (CANVAS)

Core Impact

Metasploit (PHP CGI Argument Injection)

參考資訊

CVE: CVE-2012-1823

BID: 53388

RHSA: 2012:0546