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





 

ESB-2005.0635 -- Sun Alert Notification 101864 -- Multiple Security Vulnerabilities in The "MySQL" Package

Date: 15 August 2005

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

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

              ESB-2005.0635 -- Sun Alert Notification 101864
         Multiple Security Vulnerabilities in The "MySQL" Package
                              15 August 2005

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

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

Product:           MySQL
Publisher:         Sun Microsystems
Operating System:  Solaris
Impact:            Execute Arbitrary Code/Commands
                   Create Arbitrary Files
                   Overwrite Arbitrary Files
                   Denial of Service
Access:            Existing Account
CVE Names:         CAN-2005-0711 CAN-2005-0710 CAN-2005-0709
                   CAN-2005-0004 CAN-2004-0837 CAN-2004-0835

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

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

Sun(sm) Alert Notification
     * Sun Alert ID: 101864
     * Synopsis: Multiple Security Vulnerabilities in The "MySQL" Package
     * Category: Security
     * Product: Solaris 10 Operating System
     * BugIDs: 6258187
     * Avoidance: Patch
     * State: Resolved
     * Date Released: 11-Aug-2005
     * Date Closed: 11-Aug-2005
     * Date Modified: 

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. An unprivileged "MySQL" user may be able to access and potentially
   modify sensitive information in database tables.

   This issue is referenced in the following document:
     * http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0835

   2. An unprivileged "MySQL" user may be able to disable a "MySQL"
   server causing a Denial of Service(DoS).

   This issue is referenced in the following document:
     * http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0837

   3. A local unprivileged UNIX user may be able to overwrite or create
   arbitrary files on the system with the privileges of a user who
   invokes the mysqlaccess(1) script.

   This issue is referenced in the following document:
     * http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0004

   4. A "MySQL" user with "INSERT" and "DELETE" privileges may be able to
   execute arbitrary commands with the privileges of the "MySQL" server
   due to a security vulnerability in the "CREATE FUNCTION" command.

   This issue is referenced in the following document:
     * http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0709

   5. A "MySQL" user with "INSERT" and "DELETE" privileges may be able to
   execute arbitrary commands with the privileges of the "MySQL" server
   due to a security vulnerability in the "udf_init" function.

   This issue is referenced in the following document:
     * http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0710

   6. A "MySQL" user with the "CREATE TEMPORARY TABLES" privilege may be
   able to overwrite or create files on the system with the privileges of
   the "MySQL" server.

   This issue is referenced in the following document:
     * http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0711

   Note: The "MySQL" server, mysqld(1), runs as an unprivileged user by
   default.

2. Contributing Factors

   This issue can occur in the following releases:

   SPARC Platform
     * Solaris 10 without patch 120292-01

   x86 Platform
     * Solaris 10 without patch 120293-01

   Note: Solaris 7, 8 and 9 are not impacted by this issue.

   In order for a system to be vulnerable to any of 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
    107098 /usr/sfw/sbin/mysqld

   In order for the third issue described above to occur a user must
   invoke the mysqlaccess(1) script.

3. Symptoms

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

4. Relief/Workaround

   In order to prevent issue number 3 above from occurring, sites may
   wish to stop users from executing the mysqlaccess(1) script until
   patches can be applied to the system.

   To disable the mysqlaccess(1) script the following command can be
   executed as the root (uid 0) user:
    # chmod 000 /usr/sfw/bin/mysqlaccess


5. Resolution

   This issue is addressed in the following releases:

   SPARC Platform
     * Solaris 10 with patch 120292-01 or later

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

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

iQCVAwUBQv/9iCh9+71yA2DNAQIAtgP/a2s1NbeSvu2q4HmRS2M4xbX6vksyMD0E
KuNFscT3GBgvocQCAJSn4vyjgpR2EKqY+RiL8GE/BZj/amwjkW+QwnOSCAcS31yY
yO/Wd7WXsqBJLjaT/t15KzI+Qyp1h+O2oCTZ0mCiiSf56kCmLmTmA4YHwmuIN9HQ
yVxDP1l2PDE=
=n6Qq
-----END PGP SIGNATURE-----