RHSA-2010:0110-01 Moderate: mysql security update  

Posted by Daniela Mehler

"-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
Red Hat Security Advisory

Synopsis: Moderate: mysql security update
Advisory ID: RHSA-2010:0110-01
Product: Red Hat Enterprise Linux
Advisory URL: https://rhn.redhat.com/errata/RHSA-2010-0110.html
Issue date: 2010-02-16
CVE Names: CVE-2008-4098 CVE-2008-4456 CVE-2009-2446
CVE-2009-4030
=====================================================================

1. Summary:

Updated mysql packages that fix several security issues are now available
for Red Hat Enterprise Linux 4.

This update has been rated as having moderate security impact by the Red
Hat Security Response Team.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS version 4 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Enterprise Linux Desktop version 4 - i386, x86_64
Red Hat Enterprise Linux ES version 4 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 4 - i386, ia64, x86_64

3. Description:

MySQL is a multi-user, multi-threaded SQL database server. It consists of
the MySQL server daemon (mysqld) and many client programs and libraries.

Multiple flaws were discovered in the way MySQL handled symbolic links to
tables created using the DATA DIRECTORY and INDEX DIRECTORY directives in
CREATE TABLE statements. An attacker with CREATE and DROP table privileges
and shell access to the database server could use these flaws to escalate
their database privileges, or gain access to tables created by other
database users. (CVE-2008-4098, CVE-2009-4030)

Note: Due to the security risks and previous security issues related to the
use of the DATA DIRECTORY and INDEX DIRECTORY directives, users not
depending on this feature should consider disabling it by adding
"symbolic-links=0" to the "[mysqld]" section of the "my.cnf" configuration
file. In this update, an example of such a configuration was added to the
default "my.cnf" file.

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 logged
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 specially-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 "my.cnf") must be
enabled. This logging is not enabled by default.

All MySQL users are advised to upgrade to these updated packages, which
contain backported patches to resolve these issues. After installing this
update, the MySQL server daemon (mysqld) will be restarted automatically.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

5. Bugs fixed (http://bugzilla.redhat.com/):

454077 - CVE-2008-4098 mysql: incomplete upstream fix for CVE-2008-2079
466518 - CVE-2008-4456 mysql: mysql command line client XSS flaw
511020 - CVE-2009-2446 MySQL: Format string vulnerability by manipulation with database instances (crash)
543653 - CVE-2009-4030 mysql: Incomplete fix for CVE-2008-2079 / CVE-2008-4098

6. Package List:

Red Hat Enterprise Linux AS version 4:

Source:
ftp://updates.redhat.com/enterprise/4AS/en/os/SRPMS/mysql-4.1.22-2.el4_8.3.src.rpm

i386:
mysql-4.1.22-2.el4_8.3.i386.rpm
mysql-bench-4.1.22-2.el4_8.3.i386.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm
mysql-devel-4.1.22-2.el4_8.3.i386.rpm
mysql-server-4.1.22-2.el4_8.3.i386.rpm

ia64:
mysql-4.1.22-2.el4_8.3.i386.rpm
mysql-4.1.22-2.el4_8.3.ia64.rpm
mysql-bench-4.1.22-2.el4_8.3.ia64.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.ia64.rpm
mysql-devel-4.1.22-2.el4_8.3.ia64.rpm
mysql-server-4.1.22-2.el4_8.3.ia64.rpm

ppc:
mysql-4.1.22-2.el4_8.3.ppc.rpm
mysql-4.1.22-2.el4_8.3.ppc64.rpm
mysql-bench-4.1.22-2.el4_8.3.ppc.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.ppc.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.ppc64.rpm
mysql-devel-4.1.22-2.el4_8.3.ppc.rpm
mysql-server-4.1.22-2.el4_8.3.ppc.rpm

s390:
mysql-4.1.22-2.el4_8.3.s390.rpm
mysql-bench-4.1.22-2.el4_8.3.s390.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.s390.rpm
mysql-devel-4.1.22-2.el4_8.3.s390.rpm
mysql-server-4.1.22-2.el4_8.3.s390.rpm

s390x:
mysql-4.1.22-2.el4_8.3.s390.rpm
mysql-4.1.22-2.el4_8.3.s390x.rpm
mysql-bench-4.1.22-2.el4_8.3.s390x.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.s390.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.s390x.rpm
mysql-devel-4.1.22-2.el4_8.3.s390x.rpm
mysql-server-4.1.22-2.el4_8.3.s390x.rpm

x86_64:
mysql-4.1.22-2.el4_8.3.i386.rpm
mysql-4.1.22-2.el4_8.3.x86_64.rpm
mysql-bench-4.1.22-2.el4_8.3.x86_64.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.x86_64.rpm
mysql-devel-4.1.22-2.el4_8.3.x86_64.rpm
mysql-server-4.1.22-2.el4_8.3.x86_64.rpm

Red Hat Enterprise Linux Desktop version 4:

Source:
ftp://updates.redhat.com/enterprise/4Desktop/en/os/SRPMS/mysql-4.1.22-2.el4_8.3.src.rpm

i386:
mysql-4.1.22-2.el4_8.3.i386.rpm
mysql-bench-4.1.22-2.el4_8.3.i386.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm
mysql-devel-4.1.22-2.el4_8.3.i386.rpm
mysql-server-4.1.22-2.el4_8.3.i386.rpm

x86_64:
mysql-4.1.22-2.el4_8.3.i386.rpm
mysql-4.1.22-2.el4_8.3.x86_64.rpm
mysql-bench-4.1.22-2.el4_8.3.x86_64.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.x86_64.rpm
mysql-devel-4.1.22-2.el4_8.3.x86_64.rpm
mysql-server-4.1.22-2.el4_8.3.x86_64.rpm

Red Hat Enterprise Linux ES version 4:

Source:
ftp://updates.redhat.com/enterprise/4ES/en/os/SRPMS/mysql-4.1.22-2.el4_8.3.src.rpm

i386:
mysql-4.1.22-2.el4_8.3.i386.rpm
mysql-bench-4.1.22-2.el4_8.3.i386.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm
mysql-devel-4.1.22-2.el4_8.3.i386.rpm
mysql-server-4.1.22-2.el4_8.3.i386.rpm

ia64:
mysql-4.1.22-2.el4_8.3.i386.rpm
mysql-4.1.22-2.el4_8.3.ia64.rpm
mysql-bench-4.1.22-2.el4_8.3.ia64.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.ia64.rpm
mysql-devel-4.1.22-2.el4_8.3.ia64.rpm
mysql-server-4.1.22-2.el4_8.3.ia64.rpm

x86_64:
mysql-4.1.22-2.el4_8.3.i386.rpm
mysql-4.1.22-2.el4_8.3.x86_64.rpm
mysql-bench-4.1.22-2.el4_8.3.x86_64.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.x86_64.rpm
mysql-devel-4.1.22-2.el4_8.3.x86_64.rpm
mysql-server-4.1.22-2.el4_8.3.x86_64.rpm

Red Hat Enterprise Linux WS version 4:

Source:
ftp://updates.redhat.com/enterprise/4WS/en/os/SRPMS/mysql-4.1.22-2.el4_8.3.src.rpm

i386:
mysql-4.1.22-2.el4_8.3.i386.rpm
mysql-bench-4.1.22-2.el4_8.3.i386.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm
mysql-devel-4.1.22-2.el4_8.3.i386.rpm
mysql-server-4.1.22-2.el4_8.3.i386.rpm

ia64:
mysql-4.1.22-2.el4_8.3.i386.rpm
mysql-4.1.22-2.el4_8.3.ia64.rpm
mysql-bench-4.1.22-2.el4_8.3.ia64.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.ia64.rpm
mysql-devel-4.1.22-2.el4_8.3.ia64.rpm
mysql-server-4.1.22-2.el4_8.3.ia64.rpm

x86_64:
mysql-4.1.22-2.el4_8.3.i386.rpm
mysql-4.1.22-2.el4_8.3.x86_64.rpm
mysql-bench-4.1.22-2.el4_8.3.x86_64.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.i386.rpm
mysql-debuginfo-4.1.22-2.el4_8.3.x86_64.rpm
mysql-devel-4.1.22-2.el4_8.3.x86_64.rpm
mysql-server-4.1.22-2.el4_8.3.x86_64.rpm

These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2008-4098.html
https://www.redhat.com/security/data/cve/CVE-2008-4456.html
https://www.redhat.com/security/data/cve/CVE-2009-2446.html
https://www.redhat.com/security/data/cve/CVE-2009-4030.html
http://www.redhat.com/security/updates/classification/#moderate
http://dev.mysql.com/doc/refman/4.1/en/symbolic-links-to-tables.html

8. Contact:

The Red Hat security contact is . More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2010 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFLetDDXlSAg2UNWIIRAoWjAJ9RvlmdBumZmN25fgUAanKP0QHAkgCgwM5T
qvDAHsmhNIQSgHkxM8KCFc0=
=+LfE
-----END PGP SIGNATURE-----
"

Victoria fumes as David Beckham has his balls grabbedRHSA-2010:0113-01 Critical: seamonkey security update

This entry was posted on 12:51 PM .