MySQL MyISAM security bypass

mysql-myisam-security-bypass (42267) The risk level is classified as MediumMedium Risk

Description:

MySQL could allow a local attacker to bypass security restrictions. By creating a MyISAM table modified with DATA DIRECTORY and INDEX DIRECTORY arguments, a local attacker could bypass security checks and overwrite existing table files and gain unauthorized access to future tables in the MySQL directory.

Platforms Affected:

  • Apple, Mac OS X Server 10.5
  • Apple, Mac OS X Server 10.5.1
  • Apple, Mac OS X Server 10.5.2
  • Apple, Mac OS X Server 10.5.3
  • Apple, Mac OS X Server 10.5.4
  • Apple, Mac OS X Server 10.5.5
  • Canonical, Ubuntu 6.06 LTS
  • Canonical, Ubuntu 7.10
  • Canonical, Ubuntu 8.04 LTS
  • Debian, Debian Linux 4.0
  • Gentoo, Linux
  • MandrakeSoft, Mandrake Linux 2007.1
  • MandrakeSoft, Mandrake Linux 2007.1 X86_64
  • MandrakeSoft, Mandrake Linux 2008.0 X86_64
  • MandrakeSoft, Mandrake Linux 2008.0
  • MandrakeSoft, Mandrake Linux 2008.1 X86_64
  • MandrakeSoft, Mandrake Linux 2008.1
  • MandrakeSoft, Mandrake Linux Corporate Server 4.0 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 4.0
  • MySQL, MySQL 4.1
  • MySQL, MySQL 5.0
  • MySQL, MySQL 5.1
  • MySQL, MySQL 6.0.0
  • Novell, OpenSUSE 10.3
  • Novell, OpenSUSE 11.0
  • RedHat, Application Stack v1 for EL AS 4
  • RedHat, Application Stack v1 for EL ES 4
  • RedHat, Enterprise Linux 4 WS
  • RedHat, Enterprise Linux 4 Desktop
  • RedHat, Enterprise Linux 4 AS
  • RedHat, Enterprise Linux 4 ES
  • RedHat, RHEL Application Stack 2

Remedy:

For MySQL 4.1:
Upgrade to the latest version of MySQL (4.1.24 or later), available from the MySQL Web site. See References.

For MySQL 5.0:
Upgrade to the latest version of MySQL (5.0.60 or later), available from the MySQL Web site. See References.

For other distributions:
Apply the appropriate update for your system. See References.

Consequences:

Bypass Security

References:

Reported:

May 06, 2008

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 xforce@iss.net

Return to the main page