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

PHP の phar 拡張には、phar_stream_flush、phar_wrapper_unlink、phar_parse_url、ext/phar /stream.c 内の phar_wrapper_open_url 関数および ext/phar/dirstream.c 内の phar_wrapper_open_dir 関数を適切に処理しないため、重要な情報を取得される、または任意のコードを実行される脆弱性が存在します。

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

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

Publication Date May 14, 2010, midnight
Registration Date Aug. 18, 2010, 6:26 p.m.
Last Update Aug. 18, 2010, 6:26 p.m.
CVSS2.0 : 警告
Score 5
Vector AV:N/AC:L/Au:N/C:P/I:N/A:N
Affected System
The PHP Group
PHP 5.3.2 およびそれ以前
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2010年08月18日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2010-2094
Summary

Multiple format string vulnerabilities in the phar extension in PHP 5.3 before 5.3.2 allow 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 (1) phar_stream_flush, (2) phar_wrapper_unlink, (3) phar_parse_url, or (4) phar_wrapper_open_url functions in ext/phar/stream.c; and the (5) phar_wrapper_open_dir function in ext/phar/dirstream.c, which triggers errors in the php_stream_wrapper_log_error function.

Publication Date May 28, 2010, 7:30 a.m.
Registration Date Jan. 29, 2021, 11:01 a.m.
Last Update Jan. 26, 2011, 3:48 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:php:php:5.3.0:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.3.1:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List