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

critical Nessus 插件 ID 64035

简介

远程 Red Hat 主机缺少一个或多个安全更新。

描述

更新后的 php 程序包修复了一个安全问题,现在可用于 Red Hat Enterprise Linux 5.3 Long Life、Red Hat Enterprise Linux 5.6 和 6.0 以及 6.1 Extended Update Support。

Red Hat 安全响应团队已将此更新评级为具有严重安全影响。可从“参考”部分中的 CVE 链接获取通用漏洞评分系统 (CVSS) 基本分数,其给出了详细的严重性等级。

PHP 是一种嵌入了 HTML 的脚本语言,通常用于 Apache HTTP Server。

在以 CGI 模式运行时 php-cgi 可执行文件处理命令行参数的方式中发现了一个缺陷。远程攻击者可发送针对 PHP 脚本特别构建的请求,从而导致查询字符串被 php-cgi 作为命令行选项和参数进行解析。这可能造成脚本的源代码泄露或以 PHP 解释器的权限执行任意代码。(CVE-2012-1823)

Red Hat 意识到可以公开利用此问题,从而允许在受影响的 PHP CGI 配置中执行远程代码。
此缺陷不影响 Red Hat Enterprise Linux 5 和 6 中使用适用于 Apache httpd 的 PHP 模块处理 PHP 脚本这一默认配置。

所有 php 用户应升级这些更新后的程序包,其中包含用于解决此问题的向后移植的修补程序。安装更新后的程序包后,必须重新启动 httpd 后台程序才能使更新生效。

解决方案

更新受影响的数据包。

另见

http://www.nessus.org/u?1bb28fa0

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

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

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

插件详情

严重性: Critical

ID: 64035

文件名: redhat-RHSA-2012-0568.nasl

版本: 1.20

类型: local

代理: unix

发布时间: 2013/1/24

最近更新时间: 2024/4/27

支持的传感器: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

风险信息

VPR

风险因素: High

分数: 8.9

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: cpe:/o:redhat:enterprise_linux:5, p-cpe:/a:redhat:enterprise_linux:php, p-cpe:/a:redhat:enterprise_linux:php-bcmath, p-cpe:/a:redhat:enterprise_linux:php-cli, p-cpe:/a:redhat:enterprise_linux:php-common, p-cpe:/a:redhat:enterprise_linux:php-dba, p-cpe:/a:redhat:enterprise_linux:php-devel, p-cpe:/a:redhat:enterprise_linux:php-embedded, p-cpe:/a:redhat:enterprise_linux:php-enchant, p-cpe:/a:redhat:enterprise_linux:php-gd, p-cpe:/a:redhat:enterprise_linux:php-imap, p-cpe:/a:redhat:enterprise_linux:php-intl, p-cpe:/a:redhat:enterprise_linux:php-ldap, p-cpe:/a:redhat:enterprise_linux:php-mbstring, p-cpe:/a:redhat:enterprise_linux:php-mysql, p-cpe:/a:redhat:enterprise_linux:php-ncurses, p-cpe:/a:redhat:enterprise_linux:php-odbc, p-cpe:/a:redhat:enterprise_linux:php-pdo, p-cpe:/a:redhat:enterprise_linux:php-pgsql, p-cpe:/a:redhat:enterprise_linux:php-process, p-cpe:/a:redhat:enterprise_linux:php-pspell, p-cpe:/a:redhat:enterprise_linux:php-recode, p-cpe:/a:redhat:enterprise_linux:php-snmp, p-cpe:/a:redhat:enterprise_linux:php-soap, p-cpe:/a:redhat:enterprise_linux:php-tidy, p-cpe:/a:redhat:enterprise_linux:php-xml, p-cpe:/a:redhat:enterprise_linux:php-xmlrpc, p-cpe:/a:redhat:enterprise_linux:php-zts, cpe:/o:redhat:rhel_eus:5.6, cpe:/o:redhat:rhel_eus:6.0, cpe:/o:redhat:rhel_eus:6.1, cpe:/o:redhat:rhel_mission_critical:5.3

必需的 KB 项: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

可利用: true

易利用性: Exploits are available

补丁发布日期: 2012/5/10

CISA 已知可遭利用的漏洞到期日期: 2022/4/15

可利用的方式

CANVAS (CANVAS)

Core Impact

Metasploit (PHP CGI Argument Injection)

参考资料信息

CVE: CVE-2012-1823

RHSA: 2012:0568