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

High Nessus Plugin ID 19818

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.

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

See Also

https://security.gentoo.org/glsa/200508-13

https://security.gentoo.org/glsa/200508-17

https://security.gentoo.org/glsa/200509-19

Plugin Details

Severity: High

ID: 19818

File Name: gentoo_GLSA-200509-19.nasl

Version: 1.21

Type: local

Published: 2005/10/05

Updated: 2019/08/02

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

Temporal Score: 5.5

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:mod_php, p-cpe:/a:gentoo:linux:php, p-cpe:/a:gentoo:linux:php-cgi, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2005/09/27

Reference Information

CVE: CVE-2005-2491, CVE-2005-2498

BID: 14620

GLSA: 200509-19