USN-559-1: MySQL vulnerabilities

Ubuntu Security Notice USN-559-1

20th December, 2007

mysql-dfsg-5.0 vulnerabilities

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 7.10
  • Ubuntu 7.04
  • Ubuntu 6.10
  • Ubuntu 6.06 LTS

Software description

  • mysql-dfsg-5.0

Details

Joe Gallo and Artem Russakovskii discovered that the InnoDB
engine in MySQL did not properly perform input validation. An
authenticated user could use a crafted CONTAINS statement to
cause a denial of service. (CVE-2007-5925)

It was discovered that under certain conditions MySQL could be
made to overwrite system table information. An authenticated
user could use a crafted RENAME statement to escalate privileges.
(CVE-2007-5969)

Philip Stoev discovered that the the federated engine of MySQL
did not properly handle responses with a small number of columns.
An authenticated user could use a crafted response to a SHOW
TABLE STATUS query and cause a denial of service. (CVE-2007-6304)

It was discovered that MySQL did not properly enforce access
controls. An authenticated user could use a crafted CREATE TABLE
LIKE statement to escalate privileges. (CVE-2007-3781)

Update instructions

The problem can be corrected by updating your system to the following package version:

Ubuntu 7.10:
mysql-server-5.0 5.0.45-1ubuntu3.1
Ubuntu 7.04:
mysql-server-5.0 5.0.38-0ubuntu1.2
Ubuntu 6.10:
mysql-server-5.0 5.0.24a-9ubuntu2.2
Ubuntu 6.06 LTS:
mysql-server-5.0 5.0.22-0ubuntu6.06.6

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

In general, a standard system upgrade is sufficient to effect the
necessary changes.

References

CVE-2007-3781, CVE-2007-5925, CVE-2007-5969, CVE-2007-6304