FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

pecl-phar -- format string vulnerability

Affected packages
0 <= pecl-phar

Details

VuXML ID da3d381b-0ee6-11e0-becc-0022156e8794
Discovery 2010-12-13
Entry 2011-01-13

Entry for CVE-2010-2094 says:

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.

PECL source code for PHAR extension shares the same code, so it is vulnerable too.

References

CVE Name CVE-2010-2094
URL http://php-security.org/2010/05/14/mops-2010-024-php-phar_stream_flush-format-string-vulnerability/index.html
URL http://php-security.org/2010/05/14/mops-2010-025-php-phar_wrapper_open_dir-format-string-vulnerability/index.htm
URL http://php-security.org/2010/05/14/mops-2010-026-php-phar_wrapper_unlink-format-string-vulnerability/index.htm
URL http://php-security.org/2010/05/14/mops-2010-027-php-phar_parse_url-format-string-vulnerabilities/index.htm
URL http://php-security.org/2010/05/14/mops-2010-028-php-phar_wrapper_open_url-format-string-vulnerabilities/index.html