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





 

ASB-2009.1093 - [Win][UNIX/Linux] MySQL Community Server: Execute arbitrary code/commands - Remote/unauthenticated

Date: 23 September 2009

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

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

                               ASB-2009.1093
              MySQL Community Server version 5.1.39 released
                             23 September 2009

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

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

Product:              MySQL Community Server
Operating System:     UNIX variants (UNIX, Linux, OSX)
                      Windows
Impact/Access:        Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                      Access Privileged Data          -- Existing Account      
                      Denial of Service               -- Remote/Unauthenticated
Resolution:           Patch/Upgrade
Member content until: Friday, October 23 2009

OVERVIEW

        Version 5.1.39 of MySQL Community Server has been released to 
        correct a number of issues including some security vulnerabilities.


IMPACT

        The vulnerabilities have been identified in MySQL prior to version 
        5.1.39 which could possibly cause a Denial of Service (DoS), 
        execution of arbitrary code or a memory leak. The vendor provides 
        the following descriptions of the vulnerabilities:
        
        "A buffer overflow could occur during handling of IS NULL ranges. 
        (Bug#37044)" [1]
        
        "Killing a query that was performing a sort could result in a memory 
        leak. (Bug#45962)" [1]
        
        "A query containing a subquery in the FROM  clause and PROCEDURE 
        ANALYSE() caused a server crash. (Bug#46184)" [1]
        
        "TRUNCATE TABLE for a table that was opened with HANDLER did not 
        close the handler and left it in an inconsistent state that could 
        lead to a server crash. (Bug#46456)" [1]
        
        "The server could crash for queries with the following elements: 
        1. An impossible where in the outermost SELECT; 2. An aggregate in 
        the outermost SELECT; 3. A correlated subquery with a WHERE clause 
        that includes an outer field reference as a top-level WHERE sargable 
        predicate; (Bug#46749)" [1]


MITIGATION

        Upgrading to the latest version of MySQL will correct these
        vulnerabilities. It is available for download from the vendor's
        website. [2]


REFERENCES

        [1] Changes in MySQL 5.1.39
            http://dev.mysql.com/doc/refman/5.1/en/news-5-1-39.html

        [2] MySQL 5.1
            http://dev.mysql.com/downloads/mysql/5.1.html#downloads

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

iD8DBQFKuZ7cNVH5XJJInbgRAsF0AJwNZZpsPA5yDExkU3PV2tIwlYPP5gCfeWSl
uAGoG7EVnRwQKcD7x9dAnsw=
=ZmIp
-----END PGP SIGNATURE-----