MySQL underscore allows elevated privileges

mysql-underscore-gain-priv (17783) The risk level is classified as HighHigh Risk

Description:

MySQL could allow an attacker to gain elevated privileges. An authenticated attacker, with privileges to a database that has an underscore in the name, could grant privileges to other databases that have a similar name, that the attacker does not have privileges to. An attacker could use this vulnerability to gain elevated privileges and read or modify sensitive information in the database.


Consequences:

Gain Privileges

Remedy:

Upgrade to the latest version of MySQL (4.0.21 or later), available from the MySQL Web site. See References.

For Red Hat Linux:
Upgrade to the latest mysql-server package, as listed below. Refer to RHSA-2004:611-04 for more information. See References.

Red Hat Enterprise Linux AS (v. 3), ES (v. 3), WS (v. 3), Desktop: 3.23.58-2.3.x86_64 or later.

For Ubuntu Linux:
Upgrade to the latest mysql-server package (4.0.20-2ubuntu1.1 or later), as listed in USN-32-1 November 25, 2004. See References.

For Debian GNU/Linux:
Refer to DSA-707-1 for patch, upgrade, or suggested workaround information. See References.

For Ubuntu Linux:
Refer to USN-32-1 and USN-109-1 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

References:

Platforms Affected:

  • Canonical Ubuntu 4.10
  • Debian Debian Linux 3.0
  • MandrakeSoft Mandrake Linux 10.0 AMD64
  • MandrakeSoft Mandrake Linux 10.0
  • MandrakeSoft Mandrake Linux 10.1 X86_64
  • MandrakeSoft Mandrake Linux 10.1
  • MandrakeSoft Mandrake Linux Corporate Server 2.1
  • MandrakeSoft Mandrake Linux Corporate Server 2.1 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 3.0
  • MySQL MySQL 3.20
  • MySQL MySQL 3.20.32a
  • MySQL MySQL 3.21
  • MySQL MySQL 3.22
  • MySQL MySQL 3.22.26
  • MySQL MySQL 3.22.27
  • MySQL MySQL 3.22.28
  • MySQL MySQL 3.22.29
  • MySQL MySQL 3.22.30
  • MySQL MySQL 3.22.32
  • MySQL MySQL 3.23
  • MySQL MySQL 3.23.10
  • MySQL MySQL 3.23.2
  • MySQL MySQL 3.23.22
  • MySQL MySQL 3.23.23
  • MySQL MySQL 3.23.24
  • MySQL MySQL 3.23.25
  • MySQL MySQL 3.23.26
  • MySQL MySQL 3.23.27
  • MySQL MySQL 3.23.28 Gamma
  • MySQL MySQL 3.23.28
  • MySQL MySQL 3.23.29
  • MySQL MySQL 3.23.3
  • MySQL MySQL 3.23.30
  • MySQL MySQL 3.23.31
  • MySQL MySQL 3.23.32
  • MySQL MySQL 3.23.33
  • MySQL MySQL 3.23.34
  • MySQL MySQL 3.23.36
  • MySQL MySQL 3.23.37
  • MySQL MySQL 3.23.38
  • MySQL MySQL 3.23.39
  • MySQL MySQL 3.23.4
  • MySQL MySQL 3.23.40
  • MySQL MySQL 3.23.41
  • MySQL MySQL 3.23.42
  • MySQL MySQL 3.23.43
  • MySQL MySQL 3.23.44
  • MySQL MySQL 3.23.45
  • MySQL MySQL 3.23.46
  • MySQL MySQL 3.23.47
  • MySQL MySQL 3.23.48
  • MySQL MySQL 3.23.49
  • MySQL MySQL 3.23.5
  • MySQL MySQL 3.23.50
  • MySQL MySQL 3.23.51
  • MySQL MySQL 3.23.52
  • MySQL MySQL 3.23.53
  • MySQL MySQL 3.23.53a
  • MySQL MySQL 3.23.54
  • MySQL MySQL 3.23.54a
  • MySQL MySQL 3.23.55
  • MySQL MySQL 3.23.56
  • MySQL MySQL 3.23.58
  • MySQL MySQL 3.23.59
  • MySQL MySQL 3.23.8
  • MySQL MySQL 3.23.9
  • MySQL MySQL 4.0.0
  • MySQL MySQL 4.0.1
  • MySQL MySQL 4.0.10
  • MySQL MySQL 4.0.11
  • MySQL MySQL 4.0.11 Gamma
  • MySQL MySQL 4.0.12
  • MySQL MySQL 4.0.13
  • MySQL MySQL 4.0.14
  • MySQL MySQL 4.0.15
  • MySQL MySQL 4.0.18
  • MySQL MySQL 4.0.2
  • MySQL MySQL 4.0.20
  • MySQL MySQL 4.0.3
  • MySQL MySQL 4.0.4
  • MySQL MySQL 4.0.5
  • MySQL MySQL 4.0.5A
  • MySQL MySQL 4.0.6
  • MySQL MySQL 4.0.7 Gamma
  • MySQL MySQL 4.0.7
  • MySQL MySQL 4.0.8
  • MySQL MySQL 4.0.8 Gamma
  • MySQL MySQL 4.0.9
  • MySQL MySQL 4.0.9 Gamma
  • RedHat Enterprise Linux 2.1 AS
  • RedHat Enterprise Linux 2.1 ES
  • RedHat Enterprise Linux 2.1 WS
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Linux Advanced Workstation 2.1 Itanium
  • RedHat RHEL Extras 3
  • Turbolinux Turbolinux 10 Desktop
  • Turbolinux Turbolinux 10 F...
  • Turbolinux Turbolinux 8 Server
  • Turbolinux Turbolinux 8 Workstation
  • Turbolinux Turbolinux Home
  • Turbolinux Turbolinux Appliance Server 1.0 Hosting Ed
  • Turbolinux Turbolinux Appliance Server 1.0 Workgroup Ed

Reported:

Sep 06, 2004

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page