Products & Services
Support

Product Categories


Popular Downloads


Manage Software

How to Buy

For Home

Linksys Products Store
Linksys is now part of Belkin
Products for everyone

All Ordering Options

Training & Events Partners
Guest

Vulnerability Alert

MySQL Triggered Events Privilege Elevation Vulnerability

 
Threat Type:CWE-264: Permissions, Privileges, and Access Control
IntelliShield ID:27522
Version:3
First Published:2012 December 03 15:45 GMT
Last Published:2012 December 10 12:38 GMT
Port: Not available
CVE:CVE-2012-5613
BugTraq ID:56771
Urgency:Possible use
Credibility:Highly Credible
Severity:Mild Damage
CVSS Base:7.1 CVSS Calculator
CVSS Version 2.0
CVSS Temporal:6.1
 
Version Summary:IntelliShield has released additional information to address the MySQL triggered events privilege elevation vulnerability.
 
 
Description
MySQL contains a vulnerability that could allow an authenticated, remote attacker to gain elevated privileges on a targeted system.

The vulnerability is due to improper handling of file permissions by the affected software. An authenticated, remote attacker could exploit this vulnerability via a specially created table, which can allow a trigger file to be executed by the affected software. Successful exploitation allows an attacker to gain elevated privileges on the targeted system leading to complete system compromise.

Functional code that demonstrates an exploit of this vulnerability is publicly available.

MySQL has not confirmed the vulnerability and updated software is not available. However, third-party updates are available.
 
Warning Indicators
MySQL Community Server versions 5.0.51 and 5.1.53 are vulnerable. Other versions may also be affected.
 
IntelliShield Analysis
To exploit the vulnerability, an attacker must have authenticated access to the targeted system, which may reside on internal, trusted networks. This access requirement limits the likelihood of a successful exploit.

Reports have indicated that the vendor is disputing the vulnerability. The vulnerability can be exploited only when the FILE privilege is given to nonadministrative users, giving these users the ability to write a file anywhere in the file system with the privileges of the *Note mysqld:mysqld.deamon. In addition, any user with the FILE privilege could have the ability to read any file into a database table, which could be leveraged to access unauthorized, sensitive information.

As a result, the vulnerability may be classified as a permissions configuration issue. Administrators are advised to follow the configuration recommendations in the product's installation documentation.
 
Vendor Announcements
Vendor announcements are not available.
 
Impact
An authenticated, remote attacker could exploit the vulnerability to gain elevated privileges on the targeted system. These elevated privileges could allow a complete system compromise.
 
Technical Information
The vulnerability is due to the improper handling of security privileges by the affected software. By creating a table and trigger, an authenticated user could crash the affected software by triggering a stack overrun condition, allowing the trigger event to be executed. The triggered event could forcibly reload the user configuration file and allow an attacker controlled user account to gain all table related privileges for the database.

An authenticated, remote attacker could exploit this vulnerability via a specially created table and trigger file, which would be executed by the affected software. Successful exploitation could allow an attacker to gain elevated privileges on the targeted system which could lead to complete system compromise.
 
Safeguards
Administrators are advised to contact the vendor regarding future updates and releases.

Administrators are advised to allow only trusted users to access local systems.

Administrators are advised to monitor affected systems.

Administrators are advised to exercise caution in granting the FILE and administrative privileges and to only grant these privileges to trusted users.
 
Patches/Software
CentOS packages can be updated using the up2date or yum command.
 
Alert History
 

Version 2, December 7, 2012, 8:01 AM: Functional code that demonstrates an exploit in the MySQL triggered events privilege elevation vulnerability is publicly available.

Version 1, December 3, 2012, 11:45 AM: MySQL contains a vulnerability that could allow an authenticated, remote attacker to gain elevated privileges on the targeted system. Updated software is not available.



Product Sets
 
The security vulnerability applies to the following combinations of products.

Primary Products:
Sun Microsystems, Inc.MySQL Community Server 5.0.51 .Base | 5.1 .53

Associated Products:
CentOS ProjectCentOS 6 .0 i386, .0 x86_64, .1 i386, .1 x86_64, .2 i386, .2 x86_64




Alerts and bulletins on the Cisco Security Intelligence Operations Portal are highlighted by analysts in the Cisco Threat Operations Center and represent a subset of the comprehensive content that is available through Cisco Security IntelliShield Alert Manager Service. This customizable threat and vulnerability alert service provides security staff with access to timely, accurate, and credible information about threats and vulnerabilities that may affect their environment.


LEGAL DISCLAIMER
The urgency and severity ratings of this alert are not tailored to individual users; users may value alerts differently based upon their network configurations and circumstances. THE ALERT, AND INFORMATION CONTAINED THEREIN, ARE PROVIDED ON AN "AS IS" BASIS AND DO NOT IMPLY ANY KIND OF GUARANTEE OR WARRANTY, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. YOUR USE OF THE ALERT, AND INFORMATION CONTAINED THEREIN, OR MATERIALS LINKED FROM THE ALERT, IS AT YOUR OWN RISK. INFORMATION IN THIS ALERT AND ANY RELATED COMMUNICATIONS IS BASED ON OUR KNOWLEDGE AT THE TIME OF PUBLICATION AND IS SUBJECT TO CHANGE WITHOUT NOTICE. CISCO RESERVES THE RIGHT TO CHANGE OR UPDATE ALERTS AT ANY TIME.
Powered by  IntelliShield