SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Database)  >   MySQL Vendors:   MySQL.com
(Red Hat Issues Fix) MySQL COM_FIELD_LIST Packet Buffer Overflow Lets Remote Authenticated Users Execute Arbitrary Code
SecurityTracker Alert ID:  1024035
SecurityTracker URL:  http://securitytracker.com/id/1024035
CVE Reference:   CVE-2010-1850   (Links to External Site)
Date:  May 26 2010
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to 5.1.47
Description:   A vulnerability was reported in MySQL. A remote authenticated user can execute arbitrary code on the target system.

A remote authenticated user can send a COM_FIELD_LIST command packet with a specially crafted table name argument to trigger a buffer overflow and potentially execute arbitrary code on the target system. The code will run with the privileges of the target service.

Impact:   A remote authenticated user can execute arbitrary code on the target system.
Solution:   Red Hat has issued a fix.

The Red Hat advisory is available at:

https://rhn.redhat.com/errata/RHSA-2010-0442.html

Vendor URL:  www.mysql.com/ (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  5

Message History:   This archive entry is a follow-up to the message listed below.
May 26 2010 MySQL COM_FIELD_LIST Packet Buffer Overflow Lets Remote Authenticated Users Execute Arbitrary Code



 Source Message Contents

Subject:  [RHSA-2010:0442-01] Important: mysql security update

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

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

Synopsis:          Important: mysql security update
Advisory ID:       RHSA-2010:0442-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2010-0442.html
Issue date:        2010-05-26
CVE Names:         CVE-2010-1626 CVE-2010-1848 CVE-2010-1850 
=====================================================================

1. Summary:

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

The Red Hat Security Response Team has rated this update as having
important security impact. Common Vulnerability Scoring System (CVSS) base
scores, which give detailed severity ratings, are available for each
vulnerability from the CVE links in the References section.

2. Relevant releases/architectures:

RHEL Desktop Workstation (v. 5 client) - i386, x86_64
Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64
Red Hat Enterprise Linux Desktop (v. 5 client) - i386, 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.

A buffer overflow flaw was found in the way MySQL handled the parameters of
the MySQL COM_FIELD_LIST network protocol command (this command is sent
when a client uses the MySQL mysql_list_fields() client library function).
An authenticated database user could send a request with an excessively
long table name to cause a temporary denial of service (mysqld crash) or,
potentially, execute arbitrary code with the privileges of the database
server. (CVE-2010-1850)

A directory traversal flaw was found in the way MySQL handled the
parameters of the MySQL COM_FIELD_LIST network protocol command. An
authenticated database user could use this flaw to obtain descriptions of
the fields of an arbitrary table using a request with a specially-crafted
table name. (CVE-2010-1848)

A flaw was 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 this flaw to remove data and
index files of tables created by other database users using the MyISAM
storage engine. (CVE-2010-1626)

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 all previously-released errata
relevant to your system have been applied.

This update is available via the 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/):

553648 - CVE-2010-1626 mysql: table destruction via DATA/INDEX DIRECTORY directives using symlinks
592079 - CVE-2010-1848 mysql: multiple insufficient table name checks
592091 - CVE-2010-1850 mysql: COM_FIELD_LIST table name buffer overflow

6. Package List:

Red Hat Enterprise Linux Desktop (v. 5 client):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/mysql-5.0.77-4.el5_5.3.src.rpm

i386:
mysql-5.0.77-4.el5_5.3.i386.rpm
mysql-bench-5.0.77-4.el5_5.3.i386.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm
mysql-devel-5.0.77-4.el5_5.3.i386.rpm
mysql-server-5.0.77-4.el5_5.3.i386.rpm
mysql-test-5.0.77-4.el5_5.3.i386.rpm

x86_64:
mysql-5.0.77-4.el5_5.3.i386.rpm
mysql-5.0.77-4.el5_5.3.x86_64.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.x86_64.rpm

RHEL Desktop Workstation (v. 5 client):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/mysql-5.0.77-4.el5_5.3.src.rpm

i386:
mysql-bench-5.0.77-4.el5_5.3.i386.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm
mysql-devel-5.0.77-4.el5_5.3.i386.rpm
mysql-server-5.0.77-4.el5_5.3.i386.rpm
mysql-test-5.0.77-4.el5_5.3.i386.rpm

x86_64:
mysql-bench-5.0.77-4.el5_5.3.x86_64.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.x86_64.rpm
mysql-devel-5.0.77-4.el5_5.3.i386.rpm
mysql-devel-5.0.77-4.el5_5.3.x86_64.rpm
mysql-server-5.0.77-4.el5_5.3.x86_64.rpm
mysql-test-5.0.77-4.el5_5.3.x86_64.rpm

Red Hat Enterprise Linux (v. 5 server):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/mysql-5.0.77-4.el5_5.3.src.rpm

i386:
mysql-5.0.77-4.el5_5.3.i386.rpm
mysql-bench-5.0.77-4.el5_5.3.i386.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm
mysql-devel-5.0.77-4.el5_5.3.i386.rpm
mysql-server-5.0.77-4.el5_5.3.i386.rpm
mysql-test-5.0.77-4.el5_5.3.i386.rpm

ia64:
mysql-5.0.77-4.el5_5.3.i386.rpm
mysql-5.0.77-4.el5_5.3.ia64.rpm
mysql-bench-5.0.77-4.el5_5.3.ia64.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.ia64.rpm
mysql-devel-5.0.77-4.el5_5.3.ia64.rpm
mysql-server-5.0.77-4.el5_5.3.ia64.rpm
mysql-test-5.0.77-4.el5_5.3.ia64.rpm

ppc:
mysql-5.0.77-4.el5_5.3.ppc.rpm
mysql-5.0.77-4.el5_5.3.ppc64.rpm
mysql-bench-5.0.77-4.el5_5.3.ppc.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.ppc.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.ppc64.rpm
mysql-devel-5.0.77-4.el5_5.3.ppc.rpm
mysql-devel-5.0.77-4.el5_5.3.ppc64.rpm
mysql-server-5.0.77-4.el5_5.3.ppc.rpm
mysql-server-5.0.77-4.el5_5.3.ppc64.rpm
mysql-test-5.0.77-4.el5_5.3.ppc.rpm

s390x:
mysql-5.0.77-4.el5_5.3.s390.rpm
mysql-5.0.77-4.el5_5.3.s390x.rpm
mysql-bench-5.0.77-4.el5_5.3.s390x.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.s390.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.s390x.rpm
mysql-devel-5.0.77-4.el5_5.3.s390.rpm
mysql-devel-5.0.77-4.el5_5.3.s390x.rpm
mysql-server-5.0.77-4.el5_5.3.s390x.rpm
mysql-test-5.0.77-4.el5_5.3.s390x.rpm

x86_64:
mysql-5.0.77-4.el5_5.3.i386.rpm
mysql-5.0.77-4.el5_5.3.x86_64.rpm
mysql-bench-5.0.77-4.el5_5.3.x86_64.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.i386.rpm
mysql-debuginfo-5.0.77-4.el5_5.3.x86_64.rpm
mysql-devel-5.0.77-4.el5_5.3.i386.rpm
mysql-devel-5.0.77-4.el5_5.3.x86_64.rpm
mysql-server-5.0.77-4.el5_5.3.x86_64.rpm
mysql-test-5.0.77-4.el5_5.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-2010-1626.html
https://www.redhat.com/security/data/cve/CVE-2010-1848.html
https://www.redhat.com/security/data/cve/CVE-2010-1850.html
http://www.redhat.com/security/updates/classification/#important

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  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)

iD8DBQFL/TmuXlSAg2UNWIIRArO0AJ9ITzrhEtMl5u7YBKL/YMDxIZ2dbwCgr2bV
55FJS3/Zy53vuuMueYVW7bc=
=TkyF
-----END PGP SIGNATURE-----


--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC