GLSA-200509-19 : PHP: Vulnerabilities in included PCRE and XML-RPC libraries

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200509-19
(PHP: Vulnerabilities in included PCRE and XML-RPC libraries)

PHP makes use of a private copy of libpcre which is subject to an
integer overflow leading to a heap overflow (see GLSA 200508-17). It
also ships with an XML-RPC library affected by a script injection
vulnerability (see GLSA 200508-13).

Impact :

An attacker could target a PHP-based web application that would
use untrusted data as regular expressions, potentially resulting in the
execution of arbitrary code. If web applications make use of the
XML-RPC library shipped with PHP, they are also vulnerable to remote
execution of arbitrary PHP code.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200508-13.xml
http://www.gentoo.org/security/en/glsa/glsa-200508-17.xml
http://www.gentoo.org/security/en/glsa/glsa-200509-19.xml

Solution :

All PHP users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose dev-php/php
All mod_php users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose dev-php/mod_php
All php-cgi users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose dev-php/php-cgi

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 5.5
(CVSS2#E:U/RL:OF/RC:ND)
Public Exploit Available : false

Family: Gentoo Local Security Checks

Nessus Plugin ID: 19818 (gentoo_GLSA-200509-19.nasl)

Bugtraq ID: 14620

CVE ID: CVE-2005-2491
CVE-2005-2498