製品・ソフトウェアに関する情報
PHP の phar 拡張における重要な情報を取得される脆弱性
Title PHP の phar 拡張における重要な情報を取得される脆弱性
Summary

PHP の phar 拡張の stream.c は、phar_stream_flush 関数の処理に不備があるため、重要な情報を取得される、または任意のコードを実行される脆弱性が存在します。

Possible impacts 攻撃者により、巧妙に細工された phar:// URI を介して、php_stream_wrapper_log_error 関数のエラーを誘発され、重要な情報を取得される、または任意のコードを実行される可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 14, 2010, midnight
Registration Date Oct. 14, 2010, 4:20 p.m.
Last Update April 1, 2011, 2:51 p.m.
CVSS2.0 : 警告
Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
Affected System
The PHP Group
PHP 5.3.2 およびそれ以前
アップル
Apple Mac OS X v10.6 から v10.6.6
Apple Mac OS X Server v10.6 から v10.6.6
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2010年10月14日]
  掲載
[2011年04月01日]
  影響を受けるシステム:アップル (HT4581) の情報を追加
  ベンダ情報:アップル (HT4581) を追加
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2010-2950
Summary

Format string vulnerability in stream.c in the phar extension in PHP 5.3.x through 5.3.3 allows context-dependent attackers to obtain sensitive information (memory contents) and possibly execute arbitrary code via a crafted phar:// URI that is not properly handled by the phar_stream_flush function, leading to errors in the php_stream_wrapper_log_error function. NOTE: this vulnerability exists because of an incomplete fix for CVE-2010-2094.

Publication Date Sept. 29, 2010, 3 a.m.
Registration Date Jan. 29, 2021, 11:04 a.m.
Last Update Nov. 21, 2024, 10:17 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:php:php:5.3.1:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.3.0:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.3.3:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.3.2:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List