RHEL 5/6: php53およびphp(RHSA-2011: 1423)

high Nessus プラグイン ID 56699

概要

リモートのRed Hatホストに1つ以上のセキュリティ更新プログラムがありません。

説明

いくつかのセキュリティ問題を修正する更新済み php53 パッケージおよび更新済み php パッケージが、 Red Hat Enterprise Linux 5 および 6 それぞれに利用可能になりました。

Red Hatセキュリティレスポンスチームは、この更新がセキュリティに及ぼす影響を重要度中として評価しています。詳細な重要度の評価を提供するCommon Vulnerability Scoring System(CVSS)のベーススコアは、「参照」セクションのCVEリンクから脆弱性ごとに確認できます。

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

Blowfish ハッシュ化を使用しているときに PHP crypt() 関数がパスワードの 8 ビット文字を処理する方法で、符号の問題が見つかりました。非 ASCII 文字(高ビットセットの文字)の直前にある最大 3 つまでの文字が、ハッシュ結果に影響せず、有効なパスワードの長さが短くなります。これにより、いくつかの異なるパスワードが同じ値にハッシュ化されるため、ブルートフォース推測がより効率的になりました。(CVE-2011-2483)

注:CVE-2011-2483 の修正により、この更新内容をインストールした後、一部のユーザーが、PHP crypt() 関数を使用して Blowfish でパスワードをハッシュ化する PHP アプリケーションにログインできないことがあります。詳細については、「参照」でリンクされている上流の『CRYPT_BLOWFISH セキュリティ修正の詳細』ドキュメントを参照してください。

バッファオーバーリードを引き起こす不充分な入力検証の欠陥が、 PHP exif 拡張で見つかりました。PHPスクリプトにより、イメージファイルからExchangeable Image File Format(exif)メタデータを抽出しようとするとき、特別に細工されたイメージファイルによって、PHPインタープリターがクラッシュする可能性があります。(CVE-2011-0708)

整数オーバーフロー欠陥が、PHP カレンダー拡張で見つかりました。PHPスクリプトによって大きな値のSdnToJulian()を呼び出せるリモートの攻撃者が、PHPインタープリターのクラッシュを引き起こす可能性があります。(CVE-2011-1466)

PHP OpenSSL 拡張に、複数のメモリリーク欠陥が見つかりました。PHPスクリプトによってopenssl_encrypt()またはopenssl_decrypt()を繰り返し使用できるリモートの攻撃者が、PHPインタープリターでの過剰な量のメモリの使用を、引き起こす可能性があります。(CVE-2011-1468)

use-after-free 欠陥が PHP substr_replace() 関数で見つかりました。
PHPスクリプトで関数の複数の引数と同じ変数を使用する場合、リモートの攻撃者がこれを使用して、PHPインタープリターをクラッシュしたり、任意のコードを実行したりする可能性があります。(CVE-2011-1148)

FTP ラッパー接続が HTTP プロキシを介して行われた場合、 PHP ストリームコンポーネントのバグにより、PHP インタープリターがクラッシュしました。PHPスクリプトで接続先の信頼されないURLが受け入れられる場合、リモートの攻撃者がこの問題を発生させる可能性があります。(CVE-2011-1469)

整数符号問題が、PHP zip 拡張で見つかりました。攻撃者が特別に細工されたZIPアーカイブを使用して、スクリプト実行制限時間に達するまで、PHPインタープリターで過剰な量のCPU時間を使用する可能性があります。(CVE-2011-1471)

スタックベースのバッファオーバーフロー欠陥が、PHP ソケット拡張で長い AF_UNIX ソケットアドレスを処理する方法で、見つかりました。PHPスクリプトで長いAF_UNIXソケットアドレスに接続できる攻撃者が、この欠陥を利用して、PHPインタープリターをクラッシュする可能性があります。(CVE-2011-1938)

PHP に off-by-one 欠陥が見つかりました。攻撃者が特別に細工されたファイル名のファイルをアップロードすると、これによって PHP スクリプトでルート(/)ディレクトリへのファイル書き込みを試行する可能性があります。デフォルトで、PHPは「apache」ユーザーとして実行され、ルートディレクトリへの書き込みが防止されます。(CVE-2011-2202)

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

ソリューション

影響を受けるパッケージを更新してください。

参考資料

https://access.redhat.com/security/cve/cve-2011-0708

https://access.redhat.com/security/cve/cve-2011-1148

https://access.redhat.com/security/cve/cve-2011-1466

https://access.redhat.com/security/cve/cve-2011-1468

https://access.redhat.com/security/cve/cve-2011-1469

https://access.redhat.com/security/cve/cve-2011-1471

https://access.redhat.com/security/cve/cve-2011-1938

https://access.redhat.com/security/cve/cve-2011-2202

https://access.redhat.com/security/cve/cve-2011-2483

http://www.php.net/security/crypt_blowfish.php

https://access.redhat.com/errata/RHSA-2011:1423

プラグインの詳細

深刻度: High

ID: 56699

ファイル名: redhat-RHSA-2011-1423.nasl

バージョン: 1.21

タイプ: local

エージェント: unix

公開日: 2011/11/3

更新日: 2021/1/14

サポートされているセンサー: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

リスク情報

VPR

リスクファクター: Medium

スコア: 6.1

CVSS v2

リスクファクター: High

基本値: 7.5

現状値: 5.9

ベクトル: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

脆弱性情報

CPE: p-cpe:/a:redhat:enterprise_linux:php53-pspell, p-cpe:/a:redhat:enterprise_linux:php53-snmp, p-cpe:/a:redhat:enterprise_linux:php53-soap, p-cpe:/a:redhat:enterprise_linux:php53-xml, p-cpe:/a:redhat:enterprise_linux:php53-xmlrpc, cpe:/o:redhat:enterprise_linux:5, cpe:/o:redhat:enterprise_linux:6, cpe:/o:redhat:enterprise_linux:6.1, 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-debuginfo, 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-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, p-cpe:/a:redhat:enterprise_linux:php53, p-cpe:/a:redhat:enterprise_linux:php53-bcmath, p-cpe:/a:redhat:enterprise_linux:php53-cli, p-cpe:/a:redhat:enterprise_linux:php53-common, p-cpe:/a:redhat:enterprise_linux:php53-dba, p-cpe:/a:redhat:enterprise_linux:php53-devel, p-cpe:/a:redhat:enterprise_linux:php53-gd, p-cpe:/a:redhat:enterprise_linux:php53-imap, p-cpe:/a:redhat:enterprise_linux:php53-intl, p-cpe:/a:redhat:enterprise_linux:php53-ldap, p-cpe:/a:redhat:enterprise_linux:php53-mbstring, p-cpe:/a:redhat:enterprise_linux:php53-mysql, p-cpe:/a:redhat:enterprise_linux:php53-odbc, p-cpe:/a:redhat:enterprise_linux:php53-pdo, p-cpe:/a:redhat:enterprise_linux:php53-pgsql, p-cpe:/a:redhat:enterprise_linux:php53-process

必要な KB アイテム: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

エクスプロイトが利用可能: true

エクスプロイトの容易さ: Exploits are available

パッチ公開日: 2011/11/2

脆弱性公開日: 2011/3/18

参照情報

CVE: CVE-2011-0708, CVE-2011-1148, CVE-2011-1466, CVE-2011-1468, CVE-2011-1469, CVE-2011-1471, CVE-2011-1938, CVE-2011-2202, CVE-2011-2483

BID: 46365, 46843, 46967, 46970, 46975, 46977, 47950, 48259, 49241

RHSA: 2011:1423