CVE-2004-0837
CVSS2.6
发布时间 :2004-11-03 00:00:00
修订时间 :2016-10-17 22:49:23
NMCOP    

[原文]MySQL 4.x before 4.0.21, and 3.x before 3.23.49, allows attackers to cause a denial of service (crash or hang) via multiple threads that simultaneously alter MERGE table UNIONs.


[CNNVD]MySQL ALTER命令远程拒绝服务攻击漏洞(CNNVD-200411-023)

        
        MySQL是一款开放源代码数据库系统。
        MySQL的多个线程发送'alter'命令存在问题,远程攻击者可以利用这个漏洞对数据库服务程序进行拒绝服务攻击。
        多个线程针对'merge'表发送'alter'命令修改'union',可导致目标服务程序崩溃。
        

- CVSS (基础分值)

CVSS分值: 2.6 [轻微(LOW)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

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

cpe:/a:mysql:mysql:3.23.49MySQL MySQL 3.23.49
cpe:/a:mysql:mysql:4.0.21MySQL MySQL 4.0.21

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://bugs.mysql.com/2408
(UNKNOWN)  MISC  http://bugs.mysql.com/2408
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000892
(UNKNOWN)  CONECTIVA  CLA-2004:892
http://lists.mysql.com/internals/16168
(UNKNOWN)  MISC  http://lists.mysql.com/internals/16168
http://lists.mysql.com/internals/16173
(UNKNOWN)  MISC  http://lists.mysql.com/internals/16173
http://lists.mysql.com/internals/16174
(UNKNOWN)  MISC  http://lists.mysql.com/internals/16174
http://marc.info/?l=bugtraq&m=110140517515735&w=2
(UNKNOWN)  BUGTRAQ  20041125 [USN-32-1] mysql vulnerabilities
http://mysql.bkbits.net:8080/mysql-3.23/diffs/myisammrg/myrg_open.c@1.15
(UNKNOWN)  MISC  http://mysql.bkbits.net:8080/mysql-3.23/diffs/myisammrg/myrg_open.c@1.15
http://securitytracker.com/id?1011606
(UNKNOWN)  SECTRACK  1011606
http://sunsolve.sun.com/search/document.do?assetkey=1-26-101864-1
(UNKNOWN)  SUNALERT  101864
http://www.ciac.org/ciac/bulletins/p-018.shtml
(UNKNOWN)  CIAC  P-018
http://www.debian.org/security/2004/dsa-562
(PATCH)  DEBIAN  DSA-562
http://www.gentoo.org/security/en/glsa/glsa-200410-22.xml
(UNKNOWN)  GENTOO  GLSA-200410-22
http://www.redhat.com/support/errata/RHSA-2004-597.html
(VENDOR_ADVISORY)  REDHAT  RHSA-2004:597
http://www.redhat.com/support/errata/RHSA-2004-611.html
(UNKNOWN)  REDHAT  RHSA-2004:611
http://www.securityfocus.com/bid/11357
(UNKNOWN)  BID  11357
http://www.trustix.org/errata/2004/0054/
(VENDOR_ADVISORY)  TRUSTIX  2004-0054
http://xforce.iss.net/xforce/xfdb/17667
(VENDOR_ADVISORY)  XF  mysql-union-dos(17667)

- 漏洞信息

MySQL ALTER命令远程拒绝服务攻击漏洞
低危 设计错误
2004-11-03 00:00:00 2005-10-20 00:00:00
本地  
        
        MySQL是一款开放源代码数据库系统。
        MySQL的多个线程发送'alter'命令存在问题,远程攻击者可以利用这个漏洞对数据库服务程序进行拒绝服务攻击。
        多个线程针对'merge'表发送'alter'命令修改'union',可导致目标服务程序崩溃。
        

- 公告与补丁

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

- 漏洞信息 (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-----

    

- 漏洞信息

10659
MySQL ALTER MERGE Tables to Change the UNION DoS
Remote / Network Access Denial of Service
Loss of Availability
Exploit Public

- 漏洞描述

MySQL contains a flaw that may allow a remote denial of service. The issue is triggered when an attacker uses multiple threads to ALTER the same or different MERGE tables in order to change the UNION., and will result in loss of availability for the server.

- 时间线

2004-10-11 Unknow
2004-10-11 Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

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

版权声明

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