Date: Thu, 17 Sep 2009 13:28:35 -0500 Reply-To: Troy DawsonSender: Security Errata for Scientific Linux From: Troy Dawson Subject: Security ERRATA Moderate: mysql on SL5.x i386/x86_64 Comments: To: "scientific-linux-errata@fnal.gov" Synopsis: Moderate: mysql security and bug fix update Issue date: 2009-09-02 CVE Names: CVE-2008-2079 CVE-2008-3963 CVE-2008-4456 CVE-2009-2446 CVE-2008-2079 mysql: privilege escalation via DATA/INDEX DIRECTORY directives CVE-2008-3963 MySQL: Using an empty binary value leads to server crash CVE-2008-4456 mysql: mysql command line client XSS flaw CVE-2008-3963 MySQL: Using an empty binary value leads to server crash CVE-2009-2446 MySQL: Format string vulnerability by manipulation with database instances (crash) MySQL did not correctly check directories used as arguments for the DATA DIRECTORY and INDEX DIRECTORY directives. Using this flaw, an authenticated attacker could elevate their access privileges to tables created by other database users. Note: This attack does not work on existing tables. An attacker can only elevate their access to another user's tables as the tables are created. As well, the names of these created tables need to be predicted correctly for this attack to succeed. (CVE-2008-2079) A flaw was found in the way MySQL handles an empty bit-string literal. A remote, authenticated attacker could crash the MySQL server daemon (mysqld) if they used an empty bit-string literal in an SQL statement. This issue only caused a temporary denial of service, as the MySQL daemon was automatically restarted after the crash. (CVE-2008-3963) An insufficient HTML entities quoting flaw was found in the mysql command line client's HTML output mode. If an attacker was able to inject arbitrary HTML tags into data stored in a MySQL database, which was later retrieved using the mysql command line client and its HTML output mode, they could perform a cross-site scripting (XSS) attack against victims viewing the HTML output in a web browser. (CVE-2008-4456) Multiple format string flaws were found in the way the MySQL server logs user commands when creating and deleting databases. A remote, authenticated attacker with permissions to CREATE and DROP databases could use these flaws to formulate a specifically-crafted SQL command that would cause a temporary denial of service (open connections to mysqld are terminated). (CVE-2009-2446) Note: To exploit the CVE-2009-2446 flaws, the general query log (the mysqld "--log" command line option or the "log" option in "/etc/my.cnf") must be enabled. This logging is not enabled by default. After installing this update, the MySQL server daemon (mysqld) will be restarted automatically. SL 5.x SRPMS: mysql-5.0.77-3.el5.src.rpm i386: mysql-5.0.77-3.el5.i386.rpm mysql-bench-5.0.77-3.el5.i386.rpm mysql-connector-odbc-3.51.26r1127-1.el5.i386.rpm mysql-devel-5.0.77-3.el5.i386.rpm mysql-server-5.0.77-3.el5.i386.rpm mysql-test-5.0.77-3.el5.i386.rpm x86_64: mysql-5.0.77-3.el5.i386.rpm mysql-5.0.77-3.el5.x86_64.rpm mysql-bench-5.0.77-3.el5.x86_64.rpm mysql-connector-odbc-3.51.26r1127-1.el5.x86_64.rpm mysql-devel-5.0.77-3.el5.i386.rpm mysql-devel-5.0.77-3.el5.x86_64.rpm mysql-server-5.0.77-3.el5.x86_64.rpm mysql-test-5.0.77-3.el5.x86_64.rpm -Connie Sieh -Troy Dawson