Multiple Security Vulnerabilities May Affect MySQL 4.0.x Bundled With Solaris 10



Category :Security
Release Phase :Resolved
Bug Id :6686179  
Product :Solaris 10 Operating System  
Date of Resolved Release :30-Jun-2008 

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

2. Contributing Factors

These issues can occur in the following :

SPARC Platform
x86 Platform
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
x86 Platform

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.

 

Modification History

30-Jun-2008: Updated Contributing Factors and Resolution sections. Resolved.




Attachments
This solution has no attachment

 
 
Login Required

You must login and have a valid contract to access Sun's Premium content which includes:

  • Sun Alerts
  • Bugs
  • Patches
  • Solutions
  • White Papers
  • Documentation
  • Support Knowledge

Login Required

You must login and have a valid contract to access Sun's contracted features

Access Legend:

(Login to access)   Sun Contracted Content
(Login to access)   Sun Contracted Feature

Please make use of SunSolve Feedback application by selecting the floating [+] to provide feedback about this specific document.

Search

Article Details
Article ID : 236703
Article Type : Sun Alert
Last reviewed : 2008-06-30
Audience : PUBLIC
Keywords :
Provide feedback  (help)
Page Tools
»  Print This Page
»  Email This Article
»  Bookmark This Article