Gentoo Logo

MySQL: Information leakage

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200605-13 / MySQL
Release Date May 11, 2006
Latest Revision May 15, 2006: 04
Impact low
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-db/mysql < 4.1.19 >= 4.1.19, revision >= 4.0.27 All supported architectures

Related bugreports: #132146

Synopsis

A MySQL server may leak information to unauthorized users.

2.  Impact Information

Background

MySQL is a popular multi-threaded, multi-user SQL database server.

Description

The processing of the COM_TABLE_DUMP command by a MySQL server fails to properly validate packets that arrive from the client via a network socket.

Impact

By crafting specific malicious packets an attacker could gather confidential information from the memory of a MySQL server process, for example results of queries by other users or applications. By using PHP code injection or similar techniques it would be possible to exploit this flaw through web applications that use MySQL as a database backend.

Note that on 5.x versions it is possible to overwrite the stack and execute arbitrary code with this technique. Users of MySQL 5.x are urged to upgrade to the latest available version.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All MySQL users should upgrade to the latest version.

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-db/mysql-4.0.27"

4.  References



Print

Page updated May 11, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.