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.22

Type: local

Published: 10/5/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

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 Ease: No known exploits are available

Patch Publication Date: 9/27/2005

Reference Information

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

BID: 14620

GLSA: 200509-19