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

critical Nessus プラグイン ID 59030

概要

リモートの Red Hat ホストに php 用のセキュリティ更新プログラムが適用されていません。

説明

リモート Redhat Enterprise Linux 5 / 6 ホストに、RHSA-2012:0546 アドバイザリに記載されている脆弱性の影響を受けるパッケージがインストールされています。

PHP は、Apache HTTP サーバーで一般的に使用される、HTML を組み込んだスクリプト言語です。

CGI モードで実行中の場合、php-cgi 実行可能ファイルがコマンドライン引数を処理する方法で、欠陥が見つかりました。リモートの攻撃者は、特別に細工されたリクエストを PHP スクリプトに送信することがあります。その結果、クエリ文字列は、php-cgi により、コマンドラインオプションと引数として解析される場合があります。これにより、スクリプトのソースコードが漏洩されることや、PHP インタープリターの権限で、任意のコードが実行される可能性があります。(CVE-2012-1823)

Red Hat は、影響を受ける PHP CGI 構成で、リモートコードの実行が可能となるこの問題が、一般的に悪用されていると認識しています。この欠陥は、Red Hat Enterprise Linux 5 および 6 において、PHP スクリプトを処理するために、Apache httpd 用に PHP モジュールを使用するデフォルトの設定には影響を与えません。

php のすべてのユーザーは、更新されたこれらのパッケージにアップグレードする必要があります。ここには、この問題を解決するバックポートされたパッチが収納されています。更新したパッケージをインストールした後、更新を有効にするために httpd デーモンを再起動する必要があります。

Tenable は、前述の記述ブロックを Red Hat Enterprise Linux セキュリティアドバイザリから直接抽出しています。

Nessus はこの問題をテストしておらず、代わりにアプリケーションが自己報告するバージョン番号にのみ依存していることに注意してください。

ソリューション

RHEL php パッケージを、RHSA-2012:0546 のガイダンスに基づいて更新してください。

参考資料

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

プラグインの詳細

深刻度: 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