Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2003.0071 -- RHSA-2003:017-06 Updated PHP packages available 06 February 2003 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: PHP Vendor: Red Hat Operating System: Red Hat Linux 8.0 Linux Impact: Execute Arbitrary Code/Commands Denial of Service Access Required: Remote Ref: ESB-2002.624 Comment: CVE Id: CAN-2002-1396 - --------------------------BEGIN INCLUDED TEXT-------------------- - --------------------------------------------------------------------- Red Hat, Inc. Red Hat Security Advisory Synopsis: Updated PHP packages available Advisory ID: RHSA-2003:017-06 Issue date: 2003-01-21 Updated on: 2003-02-04 Product: Red Hat Linux Keywords: PHP wordwrap Cross references: Obsoletes: CVE Names: CAN-2002-1396 - --------------------------------------------------------------------- 1. Topic: Updated PHP packages are available that fix a vulnerability in the wordwrap() function and a number of compatibility bugs. 2. Relevant releases/architectures: Red Hat Linux 8.0 - i386 3. Problem description: PHP is an HTML-embedded scripting language commonly used with the Apache HTTP server. A heap-based buffer overflow was found in the wordwrap() function in PHP versions after 4.1.2 and before 4.3.0. If wordwrap() is used on user-supplied input this could allow remote attackers to cause a denial of service or execute arbitrary code. Red Hat Linux 8.0 shipped with a version of PHP that was vulnerable to this issue. Other Red Hat Linux distributions shipped with an earlier version of PHP and are not vulnerable to this issue. In addition, a number of compatiblity bugs have also been found between PHP 4.2 and Apache 2.0. All users of PHP are advised to upgrade to these erratum packages which contain a patch to correct these issues. 4. Solution: Before applying this update, make sure all previously released errata relevant to your system have been applied. To update all RPMs for your particular architecture, run: rpm -Fvh [filenames] where [filenames] is a list of the RPMs you wish to upgrade. Only those RPMs which are currently installed will be updated. Those RPMs which are not installed but included in the list will not be updated. Note that you can also use wildcards (*.rpm) if your current directory *only* contains the 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. 5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info): 74396 - safe mode not working in php-4.2.2-8.0.5 75029 - PHP with Apache 2.0: getlastmod function fails 75712 - php4 with apache 2, getenv(ANYTHING) returns blank string 75878 - Apache caches requests by default, or there is some bug around. 78586 - Invalid command php_flag 6. RPMs required: Red Hat Linux 8.0: SRPMS: ftp://updates.redhat.com/8.0/en/os/SRPMS/php-4.2.2-8.0.7.src.rpm i386: ftp://updates.redhat.com/8.0/en/os/i386/php-4.2.2-8.0.7.i386.rpm ftp://updates.redhat.com/8.0/en/os/i386/php-devel-4.2.2-8.0.7.i386.rpm ftp://updates.redhat.com/8.0/en/os/i386/php-imap-4.2.2-8.0.7.i386.rpm ftp://updates.redhat.com/8.0/en/os/i386/php-ldap-4.2.2-8.0.7.i386.rpm ftp://updates.redhat.com/8.0/en/os/i386/php-manual-4.2.2-8.0.7.i386.rpm ftp://updates.redhat.com/8.0/en/os/i386/php-mysql-4.2.2-8.0.7.i386.rpm ftp://updates.redhat.com/8.0/en/os/i386/php-pgsql-4.2.2-8.0.7.i386.rpm ftp://updates.redhat.com/8.0/en/os/i386/php-odbc-4.2.2-8.0.7.i386.rpm ftp://updates.redhat.com/8.0/en/os/i386/php-snmp-4.2.2-8.0.7.i386.rpm 7. Verification: MD5 sum Package Name - -------------------------------------------------------------------------- 6142b2ac0eb22a2f6b33724ab5f40c72 8.0/en/os/SRPMS/php-4.2.2-8.0.7.src.rpm ee10926c45bf9fb9cdd3694700662711 8.0/en/os/i386/php-4.2.2-8.0.7.i386.rpm 370779db08cf8f7f8346b516fc4ebbde 8.0/en/os/i386/php-devel-4.2.2-8.0.7.i386.rpm ce94c1398ec3e5a2edc4455e4949da70 8.0/en/os/i386/php-imap-4.2.2-8.0.7.i386.rpm 5a7ecb7ce8ceb67ca53f1daa15488957 8.0/en/os/i386/php-ldap-4.2.2-8.0.7.i386.rpm d7d2b4aeac657ea17d5d4a3a9f72eb51 8.0/en/os/i386/php-manual-4.2.2-8.0.7.i386.rpm 5174df281714e3bf550d5697df326be4 8.0/en/os/i386/php-mysql-4.2.2-8.0.7.i386.rpm ed2a793624ad2869da4c09f38d88bb75 8.0/en/os/i386/php-odbc-4.2.2-8.0.7.i386.rpm dd19149ccecab409296cdb7feaf8dd2e 8.0/en/os/i386/php-pgsql-4.2.2-8.0.7.i386.rpm d7b8bdc55e9cc453f1639f1c34c118ef 8.0/en/os/i386/php-snmp-4.2.2-8.0.7.i386.rpm These packages are GPG signed by Red Hat, Inc. for security. Our key is available at http://www.redhat.com/about/contact/pgpkey.html You can verify each package with the following command: rpm --checksig -v <filename> If you only wish to verify that each package has not been corrupted or tampered with, examine only the md5sum with the following command: md5sum <filename> 8. References: http://marc.theaimsgroup.com/?l=bugtraq&m=104102689503192 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-1396 9. Contact: The Red Hat security contact is <security@redhat.com>. More contact details at http://www.redhat.com/solutions/security/news/contact.html Copyright 2003 Red Hat, Inc. - --------------------------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. 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 use any or all of this information is the responsibility of each user or organisation, and should be done so in accordance with site policies and procedures. 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 system has been compromised, contact AusCERT or your representative in FIRST (Forum of Incident Response and Security Teams). 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----- Version: 2.6.3i Charset: noconv Comment: http://www.auscert.org.au/render.html?it=1967 iQCVAwUBPkJlwih9+71yA2DNAQEkVgP/a4+h0XhTeVonz97khaVIncAA9upXPr7F VlU/E/cN1rONOBM26TiPqGqNREOiSgzWsZIN8iUtCrt7Y1rPUV/zgimaFfST+HDv QyQ2KL15PQptKA503Rewf9CLkSjbqItWHYi3+oIoI6JIXYobyLRUEI3tWg6OrEZc otnK/r0DLy4= =9YMC -----END PGP SIGNATURE-----