IntelliShield has released additional information to address the MySQL triggered events privilege elevation vulnerability.
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.
MySQL Community Server versions 5.0.51 and 5.1.53 are vulnerable. Other versions may also be affected.
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 are not available.
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.
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.
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.
CentOS packages can be updated using the up2date or yum command.
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.
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.
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.