CVE-2004-0644
CVSS5.0
发布时间 :2004-09-28 00:00:00
修订时间 :2016-10-17 22:47:11
NMCOS    

[原文]The asn1buf_skiptail function in the ASN.1 decoder library for MIT Kerberos 5 (krb5) 1.2.2 through 1.3.4 allows remote attackers to cause a denial of service (infinite loop) via a certain BER encoding.


[CNNVD]MIT Kerberos 5 ASN.1解码远程拒绝服务漏洞(CNNVD-200409-083)

        
        Abstract Syntax Notation 1 (ASN.1)是用于多个应用程序和设备的数据标准,允许数据可在各种平台传递。
        MIT Kerberos 5中的ASN.1解码库存在问题,远程攻击者可以利用这个漏洞对服务程序进行拒绝服务攻击。
        ASN.1解码库在处理不确定长度BER编码数据时存在问题,可导致asn1buf_skiptail()中触发无限循环,导致应用程序产生拒绝服务。未授权攻击者可以使KDC或应用服务程序由于无限循环而挂起。或者攻击者伪造合法KDC或应用服务器可引起客户端由于无限循环而挂起。
        

- CVSS (基础分值)

CVSS分值: 5 [中等(MEDIUM)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

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

cpe:/a:mit:kerberos:5-1.3MIT Kerberos 5 1.3
cpe:/a:mit:kerberos:5-1.2.3MIT Kerberos 5 1.2.3
cpe:/a:mit:kerberos:5-1.3.2MIT Kerberos 5 1.3.2
cpe:/a:mit:kerberos:5-1.2.4MIT Kerberos 5 1.2.4
cpe:/a:mit:kerberos:5-1.3.3MIT Kerberos 5 1.3.3
cpe:/a:mit:kerberos:5-1.2.2MIT Kerberos 5 1.2.2
cpe:/a:mit:kerberos:5-1.3.1MIT Kerberos 5 1.3.1
cpe:/a:mit:kerberos:5-1.2.7MIT Kerberos 5 1.2.7
cpe:/a:mit:kerberos:5-1.2.8MIT Kerberos 5 1.2.8
cpe:/a:mit:kerberos:5-1.2.5MIT Kerberos 5 1.2.5
cpe:/a:mit:kerberos:5-1.3.4MIT Kerberos 5 1.3.4
cpe:/a:mit:kerberos:5-1.2.6MIT Kerberos 5 1.2.6
cpe:/a:mit:kerberos:5-1.3:alpha1MIT Kerberos 5 1.3 alpha1

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

oval:org.mitre.oval:def:2139Kerberos 5 ASN.1 Library DoS
oval:org.mitre.oval:def:10014The asn1buf_skiptail function in the ASN.1 decoder library for MIT Kerberos 5 (krb5) 1.2.2 through 1.3.4 allows remote attackers to cause a ...
*OVAL详细的描述了检测该漏洞的方法,你可以从相关的OVAL定义中找到更多检测该漏洞的技术细节。

- 官方数据库链接

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

- 其它链接及资源

http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000860
(UNKNOWN)  CONECTIVA  CLA-2004:860
http://marc.info/?l=bugtraq&m=109508872524753&w=2
(UNKNOWN)  BUGTRAQ  20040913 [OpenPKG-SA-2004.039] OpenPKG Security Advisory (kerberos)
http://rhn.redhat.com/errata/RHSA-2004-350.html
(UNKNOWN)  REDHAT  RHSA-2004:350
http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2004-003-asn1.txt
(UNKNOWN)  CONFIRM  http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2004-003-asn1.txt
http://www.debian.org/security/2004/dsa-543
(UNKNOWN)  DEBIAN  DSA-543
http://www.gentoo.org/security/en/glsa/glsa-200409-09.xml
(VENDOR_ADVISORY)  GENTOO  GLSA-200409-09
http://www.kb.cert.org/vuls/id/550464
(UNKNOWN)  CERT-VN  VU#550464
http://www.securityfocus.com/bid/11079
(UNKNOWN)  BID  11079
http://www.trustix.net/errata/2004/0045/
(VENDOR_ADVISORY)  TRUSTIX  2004-0045
http://www.us-cert.gov/cas/techalerts/TA04-247A.html
(UNKNOWN)  CERT  TA04-247A
http://xforce.iss.net/xforce/xfdb/17160
(VENDOR_ADVISORY)  XF  kerberos-asn1-library-dos(17160)

- 漏洞信息

MIT Kerberos 5 ASN.1解码远程拒绝服务漏洞
中危 其他
2004-09-28 00:00:00 2005-10-20 00:00:00
远程  
        
        Abstract Syntax Notation 1 (ASN.1)是用于多个应用程序和设备的数据标准,允许数据可在各种平台传递。
        MIT Kerberos 5中的ASN.1解码库存在问题,远程攻击者可以利用这个漏洞对服务程序进行拒绝服务攻击。
        ASN.1解码库在处理不确定长度BER编码数据时存在问题,可导致asn1buf_skiptail()中触发无限循环,导致应用程序产生拒绝服务。未授权攻击者可以使KDC或应用服务程序由于无限循环而挂起。或者攻击者伪造合法KDC或应用服务器可引起客户端由于无限循环而挂起。
        

- 公告与补丁

        厂商补丁:
        MIT
        ---
        krb5-1.3.5已经修补此漏洞:
        
        http://web.mit.edu/kerberos

        krb5-1.3.4可采用如下补丁:
        
        http://web.mit.edu/kerberos/advisories/2004-003-patch_1.3.4.txt

        相关PGP签名如下:
        
        http://web.mit.edu/kerberos/advisories/2004-003-patch_1.3.4.txt.asc

        Index: src/lib/krb5/asn.1/asn1buf.c
        ===================================================================
        RCS file: /cvs/krbdev/krb5/src/lib/krb5/asn.1/asn1buf.c,v
        retrieving revision 5.24
        *** src/lib/krb5/asn.1/asn1buf.c 12 Mar 2003 04:33:30 -0000 5.24
        - --- src/lib/krb5/asn.1/asn1buf.c 23 Aug 2004 03:43:47 -0000
        ***************
        *** 122,127 ****
        - --- 122,129 ----
         return ASN1_OVERRUN;
         }
         while (nestlevel > 0) {
        + if (buf->bound - buf->next + 1 <= 0)
        + return ASN1_OVERRUN;
         retval = asn1_get_tag_2(buf, &t);
         if (retval) return retval;
         if (!t.indef) {
        PATCH AGAINST krb5-1.2.8可采用如下补丁:
        
        http://web.mit.edu/kerberos/advisories/2004-003-patch_1.2.8.txt

        相关PGP签名如下:
        
        http://web.mit.edu/kerberos/advisories/2004-003-patch_1.2.8.txt.asc

        Index: src/lib/krb5/asn.1/asn1buf.c
        ===================================================================
        RCS file: /cvs/krbdev/krb5/src/lib/krb5/asn.1/asn1buf.c,v
        retrieving revision 5.19.2.1
        diff -c -r5.19.2.1 asn1buf.c
        *** src/lib/krb5/asn.1/asn1buf.c 31 Jan 2001 18:00:12 -0000 5.19.2.1
        - --- src/lib/krb5/asn.1/asn1buf.c 23 Aug 2004 03:54:50 -0000
        ***************
        *** 140,145 ****
        - --- 140,147 ----
         return ASN1_OVERRUN;
         }
         while (nestlevel > 0) {
        + if (buf->bound - buf->next + 1 <= 0)
        + return ASN1_OVERRUN;
         retval = asn1_get_tag_indef(buf, &class, &construction, &tagnum,
         &taglen, &tagindef);
         if (retval) return retval;

- 漏洞信息

9406
MIT Kerberos 5 ASN.1 Decoder DoS
Remote / Network Access Denial of Service
Loss of Availability
Exploit Public

- 漏洞描述

MIT Kerberos 5 distribution contains a flaw that may allow a remote denial of service. The issue is triggered when an attacker impersonating a legitimate key distribution center or application server may cause a client program to hang inside an infinite loop via a specially crafted BER encoding and will result in loss of availability of the service.

- 时间线

2004-08-31 Unknow
Unknow Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

MIT Kerberos 5 ASN.1 Decoder Denial Of Service Vulnerability
Failure to Handle Exceptional Conditions 11079
Yes No
2004-08-31 12:00:00 2009-07-12 07:06:00
Will Fiveash and Nico Williams from Sun disclosed this vulnerability to the vendor.

- 受影响的程序版本

Turbolinux Turbolinux Server 8.0
Turbolinux Turbolinux Desktop 10.0
Turbolinux Appliance Server Workgroup Edition 1.0
Turbolinux Appliance Server Hosting Edition 1.0
Sun Solaris 9_x86
Sun Solaris 9
RedHat Linux 9.0 i386
RedHat Linux 7.3 i686
RedHat Linux 7.3 i386
RedHat Linux 7.3
RedHat Enterprise Linux WS 3
RedHat Enterprise Linux ES 3
RedHat Desktop 3.0
Red Hat Fedora Core2
Red Hat Fedora Core1
Red Hat Enterprise Linux AS 3
OpenPKG OpenPKG 2.1
OpenPKG OpenPKG 2.0
OpenPKG OpenPKG Current
MIT Kerberos 5 1.3.4
+ Mandriva Linux Mandrake 10.1 x86_64
+ Mandriva Linux Mandrake 10.1
+ Turbolinux Turbolinux Server 10.0
MIT Kerberos 5 1.3.3
MIT Kerberos 5 1.3.2
MIT Kerberos 5 1.3.1
MIT Kerberos 5 1.3 -alpha1
MIT Kerberos 5 1.3
+ Mandriva Linux Mandrake 10.0 AMD64
+ Mandriva Linux Mandrake 10.0
+ Mandriva Linux Mandrake 9.2 amd64
+ Mandriva Linux Mandrake 9.2
MIT Kerberos 5 1.2.8
MIT Kerberos 5 1.2.7
+ Mandriva Linux Mandrake 9.1 ppc
+ Mandriva Linux Mandrake 9.1
+ RedHat Linux 9.0 i386
MIT Kerberos 5 1.2.6
MIT Kerberos 5 1.2.5
+ MandrakeSoft Corporate Server 2.1 x86_64
+ MandrakeSoft Corporate Server 2.1
+ Mandriva Linux Mandrake 9.0
+ RedHat Linux 8.0 i386
+ RedHat Linux 8.0
+ Turbolinux Home
+ Turbolinux Turbolinux 10 F...
+ Turbolinux Turbolinux Desktop 10.0
+ Turbolinux Turbolinux Server 8.0
+ Wirex Immunix OS 7+
MIT Kerberos 5 1.2.4
+ 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
+ Debian Linux 3.0
+ RedHat Linux 7.3 i386
+ RedHat Linux 7.3
MIT Kerberos 5 1.2.3
MIT Kerberos 5 1.2.2 -beta1
MIT Kerberos 5 1.2.2
Mandriva Linux Mandrake 10.0 AMD64
Mandriva Linux Mandrake 10.0
Mandriva Linux Mandrake 9.2 amd64
Mandriva Linux Mandrake 9.2
Mandriva Linux Mandrake 9.1 ppc
Mandriva Linux Mandrake 9.1
MandrakeSoft Multi Network Firewall 2.0
MandrakeSoft Corporate Server 2.1 x86_64
MandrakeSoft Corporate Server 2.1
IBM Tivoli Access Manager for e-business 5.1
Gentoo Linux 1.4 _rc3
Gentoo Linux 1.4 _rc2
Gentoo Linux 1.4 _rc1
Gentoo Linux 1.4
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
Debian Linux 3.0
Cisco VPN 3000 Concentrator 4.1 .x
Cisco VPN 3000 Concentrator 4.0.1
Cisco VPN 3000 Concentrator 4.0 .x
Cisco VPN 3000 Concentrator 4.0
Avaya S8700 R2.0.1
Avaya S8700 R2.0.0
Avaya S8500 R2.0.1
Avaya S8500 R2.0.0
Avaya S8300 R2.0.1
Avaya S8300 R2.0.0
Avaya Integrated Management
Avaya CVLAN
Avaya Converged Communications Server 2.0
Apple Mac OS X Server 10.3.6
Apple Mac OS X Server 10.3.5
Apple Mac OS X Server 10.3.4
Apple Mac OS X Server 10.3.3
Apple Mac OS X Server 10.3.2
Apple Mac OS X Server 10.3.1
Apple Mac OS X Server 10.3
Apple Mac OS X Server 10.2.8
Apple Mac OS X Server 10.2.7
Apple Mac OS X Server 10.2.6
Apple Mac OS X Server 10.2.5
Apple Mac OS X Server 10.2.4
Apple Mac OS X Server 10.2.3
Apple Mac OS X Server 10.2.2
Apple Mac OS X Server 10.2.1
Apple Mac OS X Server 10.2
Apple Mac OS X 10.3.6
Apple Mac OS X 10.3.5
Apple Mac OS X 10.3.4
Apple Mac OS X 10.3.3
Apple Mac OS X 10.3.2
Apple Mac OS X 10.3.1
Apple Mac OS X 10.3
Apple Mac OS X 10.2.8
Apple Mac OS X 10.2.7
Apple Mac OS X 10.2.6
Apple Mac OS X 10.2.5
Apple Mac OS X 10.2.4
Apple Mac OS X 10.2.3
Apple Mac OS X 10.2.2
Apple Mac OS X 10.2.1
Apple Mac OS X 10.2
MIT Kerberos 5 1.3.5
+ Trustix Secure Enterprise Linux 2.0
+ Trustix Secure Linux 2.2
+ Trustix Secure Linux 2.1
Cisco VPN 3000 Concentrator 4.1.5 .B
Cisco VPN 3000 Concentrator 4.0.5 .B

- 不受影响的程序版本

MIT Kerberos 5 1.3.5
+ Trustix Secure Enterprise Linux 2.0
+ Trustix Secure Linux 2.2
+ Trustix Secure Linux 2.1
Cisco VPN 3000 Concentrator 4.1.5 .B
Cisco VPN 3000 Concentrator 4.0.5 .B

- 漏洞讨论

It is reported that MIT Kerberos V is susceptible to a denial of service vulnerability in its ASN.1 decoder.

This vulnerability presents itself when the krb5 library attempts to decode a malformed ASN.1 buffer.

As a result of this vulnerability, a remote attacker may be able to deny all Kerberos service in a realm by sending malicious UDP packets to all KDCs (Key Distribution Center). The affected KDCs would then stop servicing further authentication requests. All services utilizing Kerberos for authentication would fail to allow further requests.

MIT Kerberos V versions 1.2.2 through to 1.3.4 are reportedly affected by this vulnerability.

Update: IBM has reported that IBM Tivoli Access Manager for e-business version 5.1 is vulnerable to this issue when configured for single sign on using SPNEGO authentication.

- 漏洞利用

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: vuldb@securityfocus.com &lt;mailto:vuldb@securityfocus.com&gt;.

- 解决方案

The vendor has released an advisory (MITKRB5-SA-2004-003) along with patches to resolve this issue. Please see the referenced advisory for further information.

Debian GNU/Linux has released an advisory (DSA 543-1) along with fixes to address this and other issues. Please see the referenced advisory for further information.

RedHat Linux has released advisory RHSA-2004:350-12 along with fixes to address this and other issues in RedHat Enterprise Linux operating systems. Please see the referenced advisory for further information.

RedHat Linux has released advisories (FEDORA-2004-276, and FEDORA-2004-277) to address this and other issues for RedHat Fedora Core 1 and 2 respectively. Please see the referenced advisories for further information.

Cisco has released an advisory (cisco-sa-20040831-krb5) to address this and other issues for Cisco VPN 3000 series products. Please see the referenced advisory for further information on obtaining fixes.

Mandrake has released an advisory (MDKSA-2004:088) and fixes to address this issue. Please see the referenced advisory for further information on obtaining fixes.

Sun has released Security Alert ID 57631 along with fixes to address this issue. Please see the web reference for more information.

Trustix has released an advisory (TSL-2004-0045) to address various issues in kerberos5. Please see the referenced advisory for more information.

Gentoo advisory available. Users are advised to upgrade by performing the following steps:
emerge sync
emerge -pv ">=app-crypt/mit-krb5-1.3.4"
emerge ">=app-crypt/mit-krb5-1.3.4"

Conectiva has made advisory CLSA-2004:860 along with fixes available resolving these and other issues. Please see the referenced advisory for more information.

Avaya has released advisory ASA-2004-039 dealing with this issue. Please see the referenced web advisory for more information.

OpenPKG has released advisory OpenPKG-SA-2004.039 to address this, and other issues. Please see the referenced advisory for further information.

Turbolinux has released advisory TLSA-2004-22 to address this, and other issues. Please see the referenced advisory for further information.

IBM has released information about this issue affecting IBM Tivoli Access Manager for e-business version 5.1. Please see the IBM 'MIT Kerberos 5 Vulnerabilities' reference in Web references for more information about obtaining fixes.

Apple has released an advisory (APPLE-SA-2004-12-02) dealing with this and other issues. Please see the referenced advisory for more information.

Fedora Legacy has released security advisory FLSA:154276 addressing this issue for RedHat Linux 7.3 and 9, and for Fedora Core 1. Please see the referenced advisory for details on obtaining and applying the appropriate updates.


MIT Kerberos 5 1.2.2 -beta1

MIT Kerberos 5 1.2.4

MIT Kerberos 5 1.2.5

MIT Kerberos 5 1.2.6

MIT Kerberos 5 1.2.7

MIT Kerberos 5 1.2.8

MIT Kerberos 5 1.3 -alpha1

MIT Kerberos 5 1.3

MIT Kerberos 5 1.3.1

MIT Kerberos 5 1.3.2

MIT Kerberos 5 1.3.3

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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