-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                        ESB-2008.0413 -- [Solaris]
         Multiple Security Vulnerabilities May Affect MySQL 4.0.x
                          Bundled With Solaris 10
                                2 July 2008

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

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

Product:              MySQL 4.0.x
Publisher:            Sun Microsystems
Operating System:     Solaris
Impact:               Execute Arbitrary Code/Commands
                      Access Confidential Data
Access:               Remote/Unauthenticated
CVE Names:            CVE-2006-1517 CVE-2006-1516 CVE-2005-2558

Original Bulletin:  
  http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-66-236703-1

Revision History:     July 2 2008: Patches released
                      April 23 2008: Initial Release

- --------------------------BEGIN INCLUDED TEXT--------------------

   Solution Type: Sun Alert
   Solution  236703 :   Multiple Security Vulnerabilities May Affect
   MySQL 4.0.x Bundled With Solaris 10          
   Bug ID: 6686179

   Product
   Solaris 10 Operating System

   Date of Preliminary Release: 21-Apr-2008

   Date of Resolved Release: 30-Jun-2008

   SA Document Body
   Multiple Security Vulnerabilities in MySQL 4.0.x (see below for details)

   1. Impact

   Multiple security vulnerabilities in the "MySQL" package, an open
   source database package bundled with Solaris 10 (see mysqld(1)), may
   result in one or more of the following issues:
   1. A stack-based buffer overflow in the "init_syms" function in MySQL
   4.0 prior to 4.0.25 may allow a remote authenticated users with the
   ability to create user-defined functions to execute arbitrary code via
   a long "function_name"  field.  For additional information see:
     * http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-2558

   2.  The "check_connection" function in sql_parse.cc in MySQL 4.0.x
   through 4.0.26 may allow  a remote unauthorized users to read portions
   of memory via a username without a trailing null byte.  This may
   result in a buffer over-read. For additional information see:
     * http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1516

   3. "sql_parse.cc"  in MySQL 4.0.x through 4.0.26 may allow a remote
   unauthorized users to obtain sensitive information via a
   "COM_TABLE_DUMP" request with an incorrect packet length that
   includes portions of memory in an error message. For additional
   information see:
     * http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1517

   2. Contributing Factors

   These issues can occur in the following :
   SPARC Platform
     * Solaris 10 without patch 120292-02

   x86 Platform
     * Solaris 10 without patch 120293-02

   Note: Solaris 8 and Solaris 9 are not impacted by these issues.
   In order for a system to be vulnerable to the issues mentioned above,
   (with the exception of  issue number 3),  the "MySQL" server daemon
   (mysqld(1)) must be running on the system. To determine if the "MySQL"
   server daemon is running on the system, the following command can be
   executed:
       $ pgrep -lf mysqld || echo "System is not affected."
       107098 /usr/sfw/sbin/mysqld

   3. Symptoms

   There are no predictable symptoms that would indicate the described
   issues have been exploited.

   4. Workaround

   There is no workaround for these issues.

   5. Resolution

   These issues is addressed in the following releases:
   SPARC Platform
     * Solaris 10 with patch 120292-02 or later

   x86 Platform
     * Solaris 10 with patch 120293-02 or later

   For more information on Security Sun Alerts, see Technical
   Instruction ID 213557
   This Sun Alert notification is being provided to you on an "AS IS"
   basis. This Sun Alert notification may contain information provided by
   third parties. The issues described in this Sun Alert notification may
   or may not impact your system(s). Sun makes no representations,
   warranties, or guarantees as to the information contained herein. ANY
   AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
   WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
   NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT
   YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT,
   INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE
   OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN.
   This Sun Alert notification contains Sun proprietary and confidential
   information. It is being provided to you pursuant to the provisions of
   your agreement to purchase services from Sun, or, if you do not have
   such an agreement, the Sun.com Terms of Use. This Sun Alert
   notification may only be used for the purposes contemplated by these
   agreements.
   Copyright 2000-2008 Sun Microsystems, Inc., 4150 Network Circle, Santa
   Clara, CA 95054 U.S.A. All rights reserved
- --------------------------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.

NOTE: Third Party Rights
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 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.

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

iQCVAwUBSGrKfih9+71yA2DNAQJ2wwQAmNVk88Qnp4dv2xkjIOZzypG9KnRC+jNj
0bVX8XjNQDPAS0XXs211/Uzv6kQ1R4hx1V7qL4HFQ+yTEjWe+RZCRh86V5lULP9V
DWpQbNQ859fQWdkbR5w32uobuNFhUCwSxtrN/SaVXS02D8W4MG6yxw3hu7hK+ouB
XGF9E2DXQxw=
=yg/v
-----END PGP SIGNATURE-----