copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Training
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

AA-2007.0102 -- [Win][UNIX/Linux] -- PHP 5.2.5 released correcting several vulnerabilities

Date: 16 November 2007

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
AA-2007.0102                  AUSCERT Advisory

                             [Win][UNIX/Linux]
           PHP 5.2.5 released correcting several vulnerabilities
                             16 November 2007
- ---------------------------------------------------------------------------

        AusCERT Advisory Summary
        ------------------------

Product:              PHP versions 5.2.4 and prior
Operating System:     UNIX variants (UNIX, Linux, OSX)
                      Windows
Impact:               Execute Arbitrary Code/Commands
                      Inappropriate Access
                      Denial of Service
Access:               Remote/Unauthenticated
Member content until: Friday, December 14 2007

OVERVIEW:

        PHP 5.2.5 has been released fixing several vulnerabilities
        which could result in the bypass of security restrictions,
        execution of arbitrary code and denial of service [1].


IMPACT:

	The release notes mention the following security issues:

          o User supplied arguments to the 'dl()' function could
            lead to the bypass of security restrictions.

          o The 'htmlentities' and 'htmlspecialchars' functions were 
            accepting partial multibyte sequences which could lead to 
            the bypass of security restrictions.

          o Buffer overflow conditions inside the glibc implementations 
            of the 'fnmatch()', 'setlocale()' and 'glob()' functions
            could lead to the execution of arbitrary code.

          o An error when handling .htaccess files could enable attackers 
            to modify the 'mail.force_extra_parameters' php.ini directive
            which could lead to the bypass of security restrictions.

          o An unspecified error exists when the automatic session id 
            insertion adds sessions id to non-local forms.

          o Values set with php_admin_* in httpd.conf could be overwritten 
            with the 'ini_set()' function.


MITIGATION:

        Upgrade to PHP release 5.2.5 [2].


REFERENCES:

        [1] PHP 5.2.5 Release Announcement
            http://www.php.net/releases/5_2_5.php

        [2] PHP Downloads
            http://www.php.net/downloads.php


AusCERT has made every effort to ensure that the information contained
in this document is accurate.  However, the decision to use the information
described is the responsibility of each user or organisation. 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.

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

iQCVAwUBRz0QSih9+71yA2DNAQLtpQP/VhBQm5Xu549X5BRR9YzrzbySGA+SQjLe
DAIePjtOUPhcQSqLSb1LsQwJpe2+w4KJ+nxm4cAaE0ERz/0S2OhAJQqrhLXXGh1E
o9NWqFDfPtG4fgBrdVzV7kUAlkgjYmfQXixj+O9H1XLHi6wbZ4Wjab58lLoqNZq/
CXRAVtzcjqU=
=MO1H
-----END PGP SIGNATURE-----