Lucene search

K
gentooGentoo FoundationGLSA-200509-19
HistorySep 27, 2005 - 12:00 a.m.

PHP: Vulnerabilities in included PCRE and XML-RPC libraries

2005-09-2700:00:00
Gentoo Foundation
security.gentoo.org
13

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.023 Low

EPSS

Percentile

89.6%

Background

PHP is a general-purpose scripting language widely used to develop web-based applications. It can run inside a web server using the mod_php module or the CGI version of PHP, or can run stand-alone in a CLI.

Description

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.

Resolution

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
OSVersionArchitecturePackageVersionFilename
Gentooanyalldev-php/php< 4.4.0-r1UNKNOWN
Gentooanyalldev-php/mod_php< 4.4.0-r2UNKNOWN
Gentooanyalldev-php/php-cgi< 4.4.0-r2UNKNOWN

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.023 Low

EPSS

Percentile

89.6%