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

medium Nessus Plugin ID 56499

Synopsis

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

Description

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.

Solution

Update the affected package.

See Also

http://www.nessus.org/u?7758038f

http://www.nessus.org/u?8c91f223

http://www.nessus.org/u?246338fe

http://www.nessus.org/u?dba86c39

http://www.nessus.org/u?37ec1fc4

http://www.nessus.org/u?405b83c0

Plugin Details

Severity: Medium

ID: 56499

File Name: freebsd_pkg_da3d381b0ee611e0becc0022156e8794.nasl

Version: 1.6

Type: local

Published: 10/14/2011

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

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: 1/13/2011

Vulnerability Publication Date: 12/13/2010

Reference Information

CVE: CVE-2010-2094