-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                     ESB-2005.0063 -- RHSA-2005:031-01
                 Updated php packages fix security issues
                              20 January 2005

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           php
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux AS/ES/WS 2.1
                   Red Hat Linux Advanced Workstation 2.1
Impact:            Execute Arbitrary Code/Commands
                   Inappropriate Access
Access:            Remote/Unauthenticated
CVE Names:         CAN-2004-1019 CAN-2004-1018

Ref:               ESB-2004.0795

Original Bulletin: https://rhn.redhat.com/errata/RHSA-2005-031.html

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Updated php packages fix security issues
Advisory ID:       RHSA-2005:031-01
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2005-031.html
Issue date:        2005-01-19
Updated on:        2005-01-19
Product:           Red Hat Enterprise Linux
CVE Names:         CAN-2004-1018  CAN-2004-1019
- - ---------------------------------------------------------------------

1. Summary:

Updated php packages that fix various security issues are now
available for Red Hat Enterprise Linux 2.1.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64
Red Hat Linux Advanced Workstation 2.1 - ia64
Red Hat Enterprise Linux ES version 2.1 - i386
Red Hat Enterprise Linux WS version 2.1 - i386

3. Problem description:

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

A double-free bug was found in the deserialization code of PHP. PHP
applications use the unserialize function on untrusted user data, which
could allow a remote attacker to gain access to memory or potentially
execute arbitrary code.  The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the name CAN-2004-1019 to this issue.

Flaws were found in the pack and unpack PHP functions. These functions
do not normally pass user supplied data, so they would require a malicious
PHP script to be exploited. The Common Vulnerabilities and Exposures
project (cve.mitre.org) has assigned the name CAN-2004-1018 to this issue.

A bug was discovered in the initialization of the OpenSSL library, such
that the curl extension could not be used to perform HTTP requests over SSL
unless the php-imap package was installed.

Users of PHP should upgrade to these updated packages, which contain fixes
for these issues.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.  Use Red Hat
Network to download and update your packages.  To launch the Red Hat
Update Agent, use the following command:

    up2date

For information on how to install packages manually, refer to the
following Web page for the System Administration or Customization
guide specific to your system:

    http://www.redhat.com/docs/manuals/enterprise/

5. Bug IDs fixed (http://bugzilla.redhat.com/):

138904 - PHP cURL getting a 'SSL Couldn't create a context error'.
144773 - CAN-2004-1019 information disclosure issues

6. RPMs required:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/php-4.1.2-2.2.src.rpm
c138d06b06b24f913451b0b1014936db  php-4.1.2-2.2.src.rpm

i386:
747527fa5af2927a2e60f03a51155b33  php-4.1.2-2.2.i386.rpm
34123715e6bb68ee25aa341a22210aac  php-devel-4.1.2-2.2.i386.rpm
c8324b01a0f912f23509256876a6bd48  php-imap-4.1.2-2.2.i386.rpm
fa0c258503adbaa3da27ce315f2d8491  php-ldap-4.1.2-2.2.i386.rpm
b81212e8cdf6a2fd5d8b144993ce70ce  php-manual-4.1.2-2.2.i386.rpm
8d0e23028c8ff9ae95a21f18a4afae4d  php-mysql-4.1.2-2.2.i386.rpm
c62eb1c9b7d19df3b59c407aadd6f036  php-odbc-4.1.2-2.2.i386.rpm
8304761b31fc02bff2d653ef6a090544  php-pgsql-4.1.2-2.2.i386.rpm

ia64:
cad220354a3a740fcb3839c3142dbecd  php-4.1.2-2.2.ia64.rpm
13dc6469275f280ce64517896a6aeef0  php-devel-4.1.2-2.2.ia64.rpm
29878d0334434bab6eef75852dace0ec  php-imap-4.1.2-2.2.ia64.rpm
c0bbd8c59e4c6014686b427dc86e0315  php-ldap-4.1.2-2.2.ia64.rpm
44fa0088c8faa8f548e57f5fb9aafacf  php-manual-4.1.2-2.2.ia64.rpm
729473b0a5a4a881f3d59a4f5f336989  php-mysql-4.1.2-2.2.ia64.rpm
2d5d684aef3f82b15ee31edbd92002a2  php-odbc-4.1.2-2.2.ia64.rpm
4e1997eef1f1aefe14bc6a1605d58a18  php-pgsql-4.1.2-2.2.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/php-4.1.2-2.2.src.rpm
c138d06b06b24f913451b0b1014936db  php-4.1.2-2.2.src.rpm

ia64:
cad220354a3a740fcb3839c3142dbecd  php-4.1.2-2.2.ia64.rpm
13dc6469275f280ce64517896a6aeef0  php-devel-4.1.2-2.2.ia64.rpm
29878d0334434bab6eef75852dace0ec  php-imap-4.1.2-2.2.ia64.rpm
c0bbd8c59e4c6014686b427dc86e0315  php-ldap-4.1.2-2.2.ia64.rpm
44fa0088c8faa8f548e57f5fb9aafacf  php-manual-4.1.2-2.2.ia64.rpm
729473b0a5a4a881f3d59a4f5f336989  php-mysql-4.1.2-2.2.ia64.rpm
2d5d684aef3f82b15ee31edbd92002a2  php-odbc-4.1.2-2.2.ia64.rpm
4e1997eef1f1aefe14bc6a1605d58a18  php-pgsql-4.1.2-2.2.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/php-4.1.2-2.2.src.rpm
c138d06b06b24f913451b0b1014936db  php-4.1.2-2.2.src.rpm

i386:
747527fa5af2927a2e60f03a51155b33  php-4.1.2-2.2.i386.rpm
34123715e6bb68ee25aa341a22210aac  php-devel-4.1.2-2.2.i386.rpm
c8324b01a0f912f23509256876a6bd48  php-imap-4.1.2-2.2.i386.rpm
fa0c258503adbaa3da27ce315f2d8491  php-ldap-4.1.2-2.2.i386.rpm
b81212e8cdf6a2fd5d8b144993ce70ce  php-manual-4.1.2-2.2.i386.rpm
8d0e23028c8ff9ae95a21f18a4afae4d  php-mysql-4.1.2-2.2.i386.rpm
c62eb1c9b7d19df3b59c407aadd6f036  php-odbc-4.1.2-2.2.i386.rpm
8304761b31fc02bff2d653ef6a090544  php-pgsql-4.1.2-2.2.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/php-4.1.2-2.2.src.rpm
c138d06b06b24f913451b0b1014936db  php-4.1.2-2.2.src.rpm

i386:
747527fa5af2927a2e60f03a51155b33  php-4.1.2-2.2.i386.rpm
34123715e6bb68ee25aa341a22210aac  php-devel-4.1.2-2.2.i386.rpm
c8324b01a0f912f23509256876a6bd48  php-imap-4.1.2-2.2.i386.rpm
fa0c258503adbaa3da27ce315f2d8491  php-ldap-4.1.2-2.2.i386.rpm
b81212e8cdf6a2fd5d8b144993ce70ce  php-manual-4.1.2-2.2.i386.rpm
8d0e23028c8ff9ae95a21f18a4afae4d  php-mysql-4.1.2-2.2.i386.rpm
c62eb1c9b7d19df3b59c407aadd6f036  php-odbc-4.1.2-2.2.i386.rpm
8304761b31fc02bff2d653ef6a090544  php-pgsql-4.1.2-2.2.i386.rpm

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

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1018
http://cve.mitre.org/cgi-bin/cvename.cgi?name=
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1019

8. Contact:

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

Copyright 2005 Red Hat, Inc.

- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQFB7q1OXlSAg2UNWIIRAkZ3AKCuGM8ufUNg41F6cdYo5Y/AkA8bsQCgtTfk
DDXtQTuyZYojZN/LitO0iHI=
=SV0/
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBQe8Isyh9+71yA2DNAQL+lgP/Yby1U9lu1ArCfHZ2UHlqZErKF74dQdMw
0cpMvcOHlXP09aeRbLXNLplWjw+i3EndwB/mly4QA9KOkmUKA2Ep59muXYQySwBz
r4Xny7iUnIXVyG3tHwdFWEAc0fMsIqQmTYEiz6asXiDtYeWuByz8sluqbWOK5sDM
xfEfyf/jxos=
=ULH1
-----END PGP SIGNATURE-----