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
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ASB-2010.0189.2 - UPDATE [Win][UNIX/Linux] PHP prior to 5.3.3 and 5.2.14: Multiple vulnerabilities

Date: 26 August 2010
References: ESB-2011.0680  ESB-2010.0258  ESB-2010.0569  ESB-2010.0763  ESB-2010.0857  ESB-2010.0894  ESB-2010.1039.2  ESB-2010.1078  ESB-2011.0465  ESB-2011.0687  
ESB-2012.0383  
Related Files: ASB-2010.0189  

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

===========================================================================
                         AUSCERT Security Bulletin

                              ASB-2010.0189.2
          A number of vulnerabilties have been identified in PHP
                              26 August 2010

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

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

Product:              PHP prior to 5.3.3
                      PHP prior to 5.2.14
Operating System:     Windows
                      UNIX variants (UNIX, Linux, OSX)
Impact/Access:        Execute Arbitrary Code/Commands -- Remote with User Interaction
                      Access Confidential Data        -- Remote with User Interaction
                      Denial of Service               -- Remote with User Interaction
                      Reduced Security                -- Remote with User Interaction
Resolution:           Patch/Upgrade
CVE Names:            CVE-2010-2531 CVE-2010-2484 CVE-2010-2225
                      CVE-2010-0397 CVE-2010-3062 CVE-2010-3063
                      CVE-2010-3064 CVE-2010-3065 
Member content until: Thursday, September  9 2010
Reference:            ESB-2010.0569
                      ESB-2010.0258

Revision History:     August 26 2010: Added CVE References
                      August 10 2010: Initial Release

OVERVIEW

        A number of vulnerabilties have been identified in PHP prior to 
        versions 5.3.3 and 5.2.14.


IMPACT

        The vendor has provided the following descriptions for the
        vulnerabilities corrected in version 5.3.3:
        
          "* Rewrote var_export() to use smart_str rather than output 
             buffering, prevents data disclosure if a fatal error occurs 
             (CVE-2010-2531).
           * Fixed a possible resource destruction issues in shm_put_var().
           * Fixed a possible information leak because of interruption of XOR 
             operator.
           * Fixed a possible memory corruption because of unexpected call-
             time pass by refernce and following memory clobbering through 
             callbacks.
           * Fixed a possible memory corruption in ArrayObject::uasort().
           * Fixed a possible memory corruption in parse_str().
           * Fixed a possible memory corruption in pack().
           * Fixed a possible memory corruption in substr_replace().
           * Fixed a possible memory corruption in addcslashes().
           * Fixed a possible stack exhaustion inside fnmatch().
           * Fixed a possible dechunking filter buffer overflow.
           * Fixed a possible arbitrary memory access inside sqlite extension.
           * Fixed string format validation inside phar extension.
           * Fixed handling of session variable serialization on certain 
             prefix characters.
           * Fixed a NULL pointer dereference when processing invalid XML-
             RPC requests (Fixes CVE-2010-0397, bug #51288).
           * Fixed SplObjectStorage unserialization problems (CVE-2010-2225).
           * Fixed possible buffer overflows in mysqlnd_list_fields, 
             mysqlnd_change_user.
           * Fixed possible buffer overflows when handling error packets in 
             mysqlnd." [1]
        
        The vendor has provided the following descriptions for the
        vulnerabilities corrected in version 5.2.14:
        
          "* Rewrote var_export() to use smart_str rather than output 
             buffering, prevents data disclosure if a fatal error occurs.
           * Fixed a possible interruption array leak in strrchr().(CVE-2010-2484)
           * Fixed a possible interruption array leak in strchr(), strstr(), 
             substr(), chunk_split(), strtok(), addcslashes(), str_repeat(), 
             trim().
           * Fixed a possible memory corruption in substr_replace().
           * Fixed SplObjectStorage unserialization problems (CVE-2010-2225).
           * Fixed a possible stack exaustion inside fnmatch().
           * Fixed a NULL pointer dereference when processing invalid XML-RPC 
             requests (Fixes CVE-2010-0397, bug #51288).
           * Fixed handling of session variable serialization on certain 
             prefix characters.
           * Fixed a possible arbitrary memory access inside sqlite extension. 
             Reported by Mateusz Kocielski." [1]


MITIGATION

        The vendor recommends upgrading to the latest version of PHP to
        correct these vulnerabilities. [1]


REFERENCES

        [1] PHP Homepage
            http://www.php.net/

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.

===========================================================================
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

iD8DBQFMdbqh/iFOrG6YcBERAqaPAKDCW5/qIM/e2jWCbVQJ6yaMZel7bACgxrDK
BfyoOf4KqZ1B2tbW+MXFtmY=
=Xg/L
-----END PGP SIGNATURE-----