FreeBSD : pecl-phar -- format string vulnerability (da3d381b-0ee6-11e0-becc-0022156e8794)

Medium Nessus Plugin ID 56499


The remote FreeBSD host is missing a security-related update.


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.


Update the affected package.

See Also

Plugin Details

Severity: Medium

ID: 56499

File Name: freebsd_pkg_da3d381b0ee611e0becc0022156e8794.nasl

Version: $Revision: 1.4 $

Type: local

Published: 2011/10/14

Modified: 2013/06/22

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:pecl-phar, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 2011/01/13

Vulnerability Publication Date: 2010/12/13

Reference Information

CVE: CVE-2010-2094