LinuxSecurity.com
Share your story
The central voice for Linux and Open Source security news
Home News Topics Advisories HOWTOs Features Newsletters About Register

Welcome!
Sign up!
EnGarde Community
Login
Polls
What is the most important Linux security technology?
 
Advisories
Community
Linux Events
Linux User Groups
Link to Us
Security Center
Book Reviews
Security Dictionary
Security Tips
SELinux
White Papers
Featured Blogs
All About Linux
DanWalsh LiveJournal
Securitydistro
Latest Newsletters
Linux Advisory Watch: October 17th, 2014
Linux Security Week: October 13th, 2014
Subscribe
LinuxSecurity Newsletters
E-mail:
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

  
Red Hat: php security issues and bugs fix Print E-mail
User Rating:      How can I rate this item?
Posted by Joe Shakespeare   
RedHat Linux Updated php packages that fix various security issues and bugs are now available for Red Hat Enterprise Linux 3.

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

Synopsis:          Updated php packages fix security issues and bugs
Advisory ID:       RHSA-2004:687-01
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2004-687.html
Issue date:        2004-12-21
Updated on:        2004-12-21
Product:           Red Hat Enterprise Linux
Keywords:          PHP
Obsoletes:         RHBA-2004:272
CVE Names:         CAN-2004-0958 CAN-2004-0959 CAN-2004-1018 CAN-2004-1019 CAN-2004-1065
---------------------------------------------------------------------

1. Summary:

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

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64

3. Problem description:

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

Flaws including possible information disclosure, double free, and negative
reference index array underflow were found in the deserialization code of
PHP.  PHP applications may 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.

A flaw in the exif extension of PHP was found which lead to a stack
overflow.  An attacker could create a carefully crafted image file in such
a way that if parsed by a PHP script using the exif extension it could
cause a crash or potentially execute arbitrary code.  The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name
CAN-2004-1065 to this issue.

An information disclosure bug was discovered in the parsing of "GPC"
variables in PHP (query strings or cookies, and POST form data).  If
particular scripts used the values of the GPC variables, portions of the
memory space of an httpd child process could be revealed to the client.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2004-0958 to this issue.

A file access bug was discovered in the parsing of "multipart/form-data"
forms, used by PHP scripts which allow file uploads.  In particular
configurations, some scripts could allow a malicious client to upload files
to an arbitrary directory where the "apache" user has write access.  The
Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned
the name CAN-2004-0959 to this issue.

Flaws were found in shmop_write, pack, and unpack PHP functions.  These
functions are not normally passed user supplied data, so 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
desired RPMs.

Please note that this update is also available via Red Hat Network.  Many
people find this an easier way to apply updates.  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.

If up2date fails to connect to Red Hat Network due to SSL
Certificate Errors, you need to install a version of the
up2date client with an updated certificate.  The latest version of
up2date is available from the Red Hat FTP site and may also be
downloaded directly from the RHN website:

https://rhn.redhat.com/help/latest-up2date.pxt

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

131412 - Include process control extension, pcntl
131562 - phpize is broken on x86_64
132003 - fopen doesn't work across remote connections while under Apache
134971 - CAN-2004-0958 PHP variable parsing
134975 - CAN-2004-0959 PHP arbitrary file creation
141132 - CAN-2004-1019 information disclosure issues
142056 - CAN-2004-1065 ext/exif/exif.c - exif_read_data() overflow on long sectionname

6. RPMs required:

Red Hat Enterprise Linux AS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/php-4.3.2-19.ent.src.rpm
818b43822465cab8f3b8b937883e83e8  php-4.3.2-19.ent.src.rpm

i386:
7596bef3a34d0e536bf7d928d4e4fe72  php-4.3.2-19.ent.i386.rpm
7d1621e13be8c768862c7046bcdf6091  php-devel-4.3.2-19.ent.i386.rpm
daaa408d09844d147921c64cadef6ef6  php-imap-4.3.2-19.ent.i386.rpm
c2cde45149b04ff57cdb992ee238b557  php-ldap-4.3.2-19.ent.i386.rpm
ebf63e54f3db6155fc3849002d6e885b  php-mysql-4.3.2-19.ent.i386.rpm
c21f48ea272bdd76d3c3029d20aace8e  php-odbc-4.3.2-19.ent.i386.rpm
d9194ed4e9a76384769f4b4912088581  php-pgsql-4.3.2-19.ent.i386.rpm

ia64:
1bc4b9a171005daa9949aa7ce6867819  php-4.3.2-19.ent.ia64.rpm
fae7fb7a8293664d432045261317afa4  php-devel-4.3.2-19.ent.ia64.rpm
6cb195cabe3d74e815991f5a7e3e8ea1  php-imap-4.3.2-19.ent.ia64.rpm
3f3a407d55367e36d8ebe092c4350e13  php-ldap-4.3.2-19.ent.ia64.rpm
308e1ea8b4e0719ee72040238b70cdbf  php-mysql-4.3.2-19.ent.ia64.rpm
eb92dbb86507aced5740249b9e5b68a7  php-odbc-4.3.2-19.ent.ia64.rpm
05e2049de5a83c0623948393e456e40c  php-pgsql-4.3.2-19.ent.ia64.rpm

ppc:
0d40de309a5aa22aa60149deb559c53f  php-4.3.2-19.ent.ppc.rpm
054f2b454915f3047e767d5252b6aec7  php-devel-4.3.2-19.ent.ppc.rpm
26721fd754dfad6e073fccc547658f65  php-imap-4.3.2-19.ent.ppc.rpm
623869a31a37e12b272540ddf43f861e  php-ldap-4.3.2-19.ent.ppc.rpm
c33a16d7156099928a6dea43f8c061df  php-mysql-4.3.2-19.ent.ppc.rpm
9ede40b3ff4b81e12a0cb40716f34be2  php-odbc-4.3.2-19.ent.ppc.rpm
a6478adc86f7db4dc024882e87867f8f  php-pgsql-4.3.2-19.ent.ppc.rpm

s390:

i386:
7596bef3a34d0e536bf7d928d4e4fe72  php-4.3.2-19.ent.i386.rpm
7d1621e13be8c768862c7046bcdf6091  php-devel-4.3.2-19.ent.i386.rpm
daaa408d09844d147921c64cadef6ef6  php-imap-4.3.2-19.ent.i386.rpm
c2cde45149b04ff57cdb992ee238b557  php-ldap-4.3.2-19.ent.i386.rpm
ebf63e54f3db6155fc3849002d6e885b  php-mysql-4.3.2-19.ent.i386.rpm
c21f48ea272bdd76d3c3029d20aace8e  php-odbc-4.3.2-19.ent.i386.rpm
d9194ed4e9a76384769f4b4912088581  php-pgsql-4.3.2-19.ent.i386.rpm

x86_64:
9eed133c39c848b5b9cf30bd0f0e41a3  php-4.3.2-19.ent.x86_64.rpm
31b3d22d09049c688e05c19b91a5343d  php-devel-4.3.2-19.ent.x86_64.rpm
57910471f09de36603c2b6b89bf9a079  php-imap-4.3.2-19.ent.x86_64.rpm
851b437d1adbdcf8a7e4f9dd0f47ccbd  php-ldap-4.3.2-19.ent.x86_64.rpm
a4db3d9d4572d8c9fd3cf88d370d9196  php-mysql-4.3.2-19.ent.x86_64.rpm
a7aef84e839ee4339e8307256a1da32d  php-odbc-4.3.2-19.ent.x86_64.rpm
11e8e9e2d0cc9a2fba2b6c01787a8752  php-pgsql-4.3.2-19.ent.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/php-4.3.2-19.ent.src.rpm
818b43822465cab8f3b8b937883e83e8  php-4.3.2-19.ent.src.rpm

i386:
7596bef3a34d0e536bf7d928d4e4fe72  php-4.3.2-19.ent.i386.rpm
7d1621e13be8c768862c7046bcdf6091  php-devel-4.3.2-19.ent.i386.rpm
daaa408d09844d147921c64cadef6ef6  php-imap-4.3.2-19.ent.i386.rpm
c2cde45149b04ff57cdb992ee238b557  php-ldap-4.3.2-19.ent.i386.rpm
ebf63e54f3db6155fc3849002d6e885b  php-mysql-4.3.2-19.ent.i386.rpm
c21f48ea272bdd76d3c3029d20aace8e  php-odbc-4.3.2-19.ent.i386.rpm
d9194ed4e9a76384769f4b4912088581  php-pgsql-4.3.2-19.ent.i386.rpm

ia64:
1bc4b9a171005daa9949aa7ce6867819  php-4.3.2-19.ent.ia64.rpm
fae7fb7a8293664d432045261317afa4  php-devel-4.3.2-19.ent.ia64.rpm
6cb195cabe3d74e815991f5a7e3e8ea1  php-imap-4.3.2-19.ent.ia64.rpm
3f3a407d55367e36d8ebe092c4350e13  php-ldap-4.3.2-19.ent.ia64.rpm
308e1ea8b4e0719ee72040238b70cdbf  php-mysql-4.3.2-19.ent.ia64.rpm
eb92dbb86507aced5740249b9e5b68a7  php-odbc-4.3.2-19.ent.ia64.rpm
05e2049de5a83c0623948393e456e40c  php-pgsql-4.3.2-19.ent.ia64.rpm

x86_64:
9eed133c39c848b5b9cf30bd0f0e41a3  php-4.3.2-19.ent.x86_64.rpm
31b3d22d09049c688e05c19b91a5343d  php-devel-4.3.2-19.ent.x86_64.rpm
57910471f09de36603c2b6b89bf9a079  php-imap-4.3.2-19.ent.x86_64.rpm
851b437d1adbdcf8a7e4f9dd0f47ccbd  php-ldap-4.3.2-19.ent.x86_64.rpm
a4db3d9d4572d8c9fd3cf88d370d9196  php-mysql-4.3.2-19.ent.x86_64.rpm
a7aef84e839ee4339e8307256a1da32d  php-odbc-4.3.2-19.ent.x86_64.rpm
11e8e9e2d0cc9a2fba2b6c01787a8752  php-pgsql-4.3.2-19.ent.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/php-4.3.2-19.ent.src.rpm
818b43822465cab8f3b8b937883e83e8  php-4.3.2-19.ent.src.rpm

i386:
7596bef3a34d0e536bf7d928d4e4fe72  php-4.3.2-19.ent.i386.rpm
7d1621e13be8c768862c7046bcdf6091  php-devel-4.3.2-19.ent.i386.rpm
daaa408d09844d147921c64cadef6ef6  php-imap-4.3.2-19.ent.i386.rpm
c2cde45149b04ff57cdb992ee238b557  php-ldap-4.3.2-19.ent.i386.rpm
ebf63e54f3db6155fc3849002d6e885b  php-mysql-4.3.2-19.ent.i386.rpm
c21f48ea272bdd76d3c3029d20aace8e  php-odbc-4.3.2-19.ent.i386.rpm
d9194ed4e9a76384769f4b4912088581  php-pgsql-4.3.2-19.ent.i386.rpm

ia64:
1bc4b9a171005daa9949aa7ce6867819  php-4.3.2-19.ent.ia64.rpm
fae7fb7a8293664d432045261317afa4  php-devel-4.3.2-19.ent.ia64.rpm
6cb195cabe3d74e815991f5a7e3e8ea1  php-imap-4.3.2-19.ent.ia64.rpm
3f3a407d55367e36d8ebe092c4350e13  php-ldap-4.3.2-19.ent.ia64.rpm
308e1ea8b4e0719ee72040238b70cdbf  php-mysql-4.3.2-19.ent.ia64.rpm
eb92dbb86507aced5740249b9e5b68a7  php-odbc-4.3.2-19.ent.ia64.rpm
05e2049de5a83c0623948393e456e40c  php-pgsql-4.3.2-19.ent.ia64.rpm

x86_64:
9eed133c39c848b5b9cf30bd0f0e41a3  php-4.3.2-19.ent.x86_64.rpm
31b3d22d09049c688e05c19b91a5343d  php-devel-4.3.2-19.ent.x86_64.rpm
57910471f09de36603c2b6b89bf9a079  php-imap-4.3.2-19.ent.x86_64.rpm
851b437d1adbdcf8a7e4f9dd0f47ccbd  php-ldap-4.3.2-19.ent.x86_64.rpm
a4db3d9d4572d8c9fd3cf88d370d9196  php-mysql-4.3.2-19.ent.x86_64.rpm
a7aef84e839ee4339e8307256a1da32d  php-odbc-4.3.2-19.ent.x86_64.rpm
11e8e9e2d0cc9a2fba2b6c01787a8752  php-pgsql-4.3.2-19.ent.x86_64.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-0958
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0959
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1018
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1019
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1065

8. Contact:

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

Copyright 2004 Red Hat, Inc.

 
< Prev   Next >
    
Partner

 

Latest Features
Peter Smith Releases Linux Network Security Online
Securing a Linux Web Server
Password guessing with Medusa 2.0
Password guessing as an attack vector
Squid and Digest Authentication
Squid and Basic Authentication
Demystifying the Chinese Hacking Industry: Earning 6 Million a Night
Free Online security course (LearnSIA) - A Call for Help
What You Need to Know About Linux Rootkits
Review: A Practical Guide to Fedora and Red Hat Enterprise Linux - Fifth Edition
Weekend Edition
The Hacktivist as Angry Young Man
The Hacker Wars Hits NYC
CAINE Linux Distribution Helps Investigators With Forensic Analysis
Partner Sponsor

Community | HOWTOs | Blogs | Features | Book Reviews | Networking
 Security Projects |  Latest News |  Newsletters |  SELinux |  Privacy |  Home
 Hardening |   About Us |   Advertise |   Legal Notice |   RSS |   Guardian Digital
(c)Copyright 2014 Guardian Digital, Inc. All rights reserved.