Skip to navigation

Security Advisory php security update

Advisory: RHSA-2005:838-3
Type: Security Advisory
Severity: Moderate
Issued on: 2005-11-10
Last updated on: 2005-11-10
Affected Products: Red Hat Enterprise Linux AS (v. 2.1)
Red Hat Enterprise Linux ES (v. 2.1)
Red Hat Enterprise Linux WS (v. 2.1)
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor
CVEs (cve.mitre.org): CVE-2005-3388
CVE-2005-3389
CVE-2005-3390

Details

Updated PHP packages that fix multiple security issues are now available
for Red Hat Enterprise Linux 2.1

This update has been rated as having moderate security impact by the Red
Hat Security Response Team.

PHP is an HTML-embedded scripting language commonly used with the Apache
HTTP Web server.

A flaw was found in the way PHP registers global variables during a file
upload request. A remote attacker could submit a carefully crafted
multipart/form-data POST request that would overwrite the $GLOBALS array,
altering expected script behavior, and possibly leading to the execution of
arbitrary PHP commands. Note that this vulnerability only affects
installations which have register_globals enabled in the PHP configuration
file, which is not a default or recommended option. The Common
Vulnerabilities and Exposures project assigned the name CVE-2005-3390 to
this issue.

A flaw was found in the PHP parse_str() function. If a PHP script passes
only one argument to the parse_str() function, and the script can be forced
to abort execution during operation (for example due to the memory_limit
setting), the register_globals may be enabled even if it is disabled in the
PHP configuration file. This vulnerability only affects installations that
have PHP scripts using the parse_str function in this way. (CVE-2005-3389)

A Cross-Site Scripting flaw was found in the phpinfo() function. If a
victim can be tricked into following a malicious URL to a site with a page
displaying the phpinfo() output, it may be possible to inject javascript
or HTML content into the displayed page or steal data such as cookies.
This vulnerability only affects installations which allow users to view the
output of the phpinfo() function. As the phpinfo() function outputs a
large amount of information about the current state of PHP, it should only
be used during debugging or if protected by authentication. (CVE-2005-3388)

Additionally, a bug introduced in the updates to fix CVE-2004-1019 has been
corrected.

Users of PHP should upgrade to these updated packages, which contain
backported patches that resolve these issues.


Solution

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

This update is available via Red Hat Network. To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

Updated packages

Red Hat Enterprise Linux AS (v. 2.1)

SRPMS:
php-4.1.2-2.3.src.rpm
File outdated by:  RHSA-2008:0546
    MD5: 5886716b98a26c634a47ccdae93b2376
 
IA-32:
php-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: 1307e0df5575fe3fe0f504fa856a5213
php-devel-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: d13142fa106a04e49b2ad3e072a553bb
php-imap-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: 02289114da87f3ab414635cabfa9aa4e
php-ldap-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: b6cc703eecf0a75bd51ada87c24086e9
php-manual-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: cdb35266ca56df967ff79faa39043fe3
php-mysql-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: 18684ae7a20e829f7c3f6858028df123
php-odbc-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: 10c39ba29c0e04bf23fa05f4fb068334
php-pgsql-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: e531eea461e475eef5f282d345335a9c
 
IA-64:
php-4.1.2-2.3.ia64.rpm
File outdated by:  RHSA-2008:0546
    MD5: d0d09ee077240bf6cc9b183dba8a262a
php-devel-4.1.2-2.3.ia64.rpm
File outdated by:  RHSA-2008:0546
    MD5: 9e8911159b49c09d1c8c4ac0a76b0c5f
php-imap-4.1.2-2.3.ia64.rpm
File outdated by:  RHSA-2008:0546
    MD5: 72a8934072f5998304da4da594839ec2
php-ldap-4.1.2-2.3.ia64.rpm
File outdated by:  RHSA-2008:0546
    MD5: 29c9dfebe06c8990d7f25bd121233bb6
php-manual-4.1.2-2.3.ia64.rpm
File outdated by:  RHSA-2008:0546
    MD5: e8c417f675129a4ae2253c1b7425a998
php-mysql-4.1.2-2.3.ia64.rpm
File outdated by:  RHSA-2008:0546
    MD5: 5942a9f44723e1ba0a6514f9a29a409a
php-odbc-4.1.2-2.3.ia64.rpm
File outdated by:  RHSA-2008:0546
    MD5: 5bddd0395d572dd424fa5809c4cd1be3
php-pgsql-4.1.2-2.3.ia64.rpm
File outdated by:  RHSA-2008:0546
    MD5: ddf9f178c22cd9b785ef6393c3067bcd
 
Red Hat Enterprise Linux ES (v. 2.1)

SRPMS:
php-4.1.2-2.3.src.rpm
File outdated by:  RHSA-2008:0546
    MD5: 5886716b98a26c634a47ccdae93b2376
 
IA-32:
php-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: 1307e0df5575fe3fe0f504fa856a5213
php-devel-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: d13142fa106a04e49b2ad3e072a553bb
php-imap-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: 02289114da87f3ab414635cabfa9aa4e
php-ldap-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: b6cc703eecf0a75bd51ada87c24086e9
php-manual-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: cdb35266ca56df967ff79faa39043fe3
php-mysql-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: 18684ae7a20e829f7c3f6858028df123
php-odbc-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: 10c39ba29c0e04bf23fa05f4fb068334
php-pgsql-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: e531eea461e475eef5f282d345335a9c
 
Red Hat Enterprise Linux WS (v. 2.1)

SRPMS:
php-4.1.2-2.3.src.rpm
File outdated by:  RHSA-2008:0546
    MD5: 5886716b98a26c634a47ccdae93b2376
 
IA-32:
php-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: 1307e0df5575fe3fe0f504fa856a5213
php-devel-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: d13142fa106a04e49b2ad3e072a553bb
php-imap-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: 02289114da87f3ab414635cabfa9aa4e
php-ldap-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: b6cc703eecf0a75bd51ada87c24086e9
php-manual-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: cdb35266ca56df967ff79faa39043fe3
php-mysql-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: 18684ae7a20e829f7c3f6858028df123
php-odbc-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: 10c39ba29c0e04bf23fa05f4fb068334
php-pgsql-4.1.2-2.3.i386.rpm
File outdated by:  RHSA-2008:0546
    MD5: e531eea461e475eef5f282d345335a9c
 
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor

SRPMS:
php-4.1.2-2.3.src.rpm
File outdated by:  RHSA-2008:0546
    MD5: 5886716b98a26c634a47ccdae93b2376
 
IA-64:
php-4.1.2-2.3.ia64.rpm
File outdated by:  RHSA-2008:0546
    MD5: d0d09ee077240bf6cc9b183dba8a262a
php-devel-4.1.2-2.3.ia64.rpm
File outdated by:  RHSA-2008:0546
    MD5: 9e8911159b49c09d1c8c4ac0a76b0c5f
php-imap-4.1.2-2.3.ia64.rpm
File outdated by:  RHSA-2008:0546
    MD5: 72a8934072f5998304da4da594839ec2
php-ldap-4.1.2-2.3.ia64.rpm
File outdated by:  RHSA-2008:0546
    MD5: 29c9dfebe06c8990d7f25bd121233bb6
php-manual-4.1.2-2.3.ia64.rpm
File outdated by:  RHSA-2008:0546
    MD5: e8c417f675129a4ae2253c1b7425a998
php-mysql-4.1.2-2.3.ia64.rpm
File outdated by:  RHSA-2008:0546
    MD5: 5942a9f44723e1ba0a6514f9a29a409a
php-odbc-4.1.2-2.3.ia64.rpm
File outdated by:  RHSA-2008:0546
    MD5: 5bddd0395d572dd424fa5809c4cd1be3
php-pgsql-4.1.2-2.3.ia64.rpm
File outdated by:  RHSA-2008:0546
    MD5: ddf9f178c22cd9b785ef6393c3067bcd
 

Bugs fixed (see bugzilla for more information)

150778 - issue in fix for CAN-2004-1019
172207 - CVE-2005-3390 PHP register globals arbitrary code execution
172209 - CVE-2005-3389 PHP parse_str can enable register_globals
172212 - CVE-2005-3388 PHP phpinfo() XSS attack


References



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/