Kerberos KDC ASN.1 error handling double-free code execution

kerberos-kdc-double-free (17157) The risk level is classified as HighHigh Risk

Description:

Kerberos could allow a remote attacker to execute arbitrary code on the system, caused by multiple a double-free vulnerabilities in the ASN.1 error handling code. A remote attacker could exploit this vulnerability to execute arbitrary code on the vulnerable system.

Platforms Affected:

  • Apple, Mac OS X 10.2.8
  • Apple, Mac OS X 10.3.6
  • Apple, Mac OS X Server 10.2.8
  • Apple, Mac OS X Server 10.3.6
  • Canonical, Ubuntu 4.10
  • Canonical, Ubuntu 5.04
  • Conectiva, Linux 10
  • Conectiva, Linux 9.0
  • Debian, Debian Linux 3.0
  • Debian, Debian Linux 3.1
  • Gentoo, Linux
  • MandrakeSoft, Mandrake Linux 10.0
  • MandrakeSoft, Mandrake Linux 10.0 AMD64
  • MandrakeSoft, Mandrake Linux 10.1 X86_64
  • MandrakeSoft, Mandrake Linux 10.1
  • MandrakeSoft, Mandrake Linux 9.1 PPC
  • MandrakeSoft, Mandrake Linux 9.1
  • MandrakeSoft, Mandrake Linux 9.2
  • MandrakeSoft, Mandrake Linux 9.2 AMD64
  • MandrakeSoft, Mandrake Linux LE2005 X86_64
  • MandrakeSoft, Mandrake Linux LE2005
  • MandrakeSoft, Mandrake Linux Corporate Server 2.1 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 2.1
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0
  • MandrakeSoft, Mandrake Multi Network Firewall 2.0
  • MandrakeSoft, Mandrake Multi Network Firewall 8.2
  • MIT, Kerberos 5-1.0
  • MIT, Kerberos 5-1.1
  • MIT, Kerberos 5-1.2
  • MIT, Kerberos 5-1.2.1
  • MIT, Kerberos 5-1.2.2
  • MIT, Kerberos 5-1.2.3
  • 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
  • MIT, Kerberos 5-1.3.1
  • MIT, Kerberos 5-1.3.2
  • MIT, Kerberos 5-1.3.3
  • MIT, Kerberos 5-1.3.4
  • OpenPKG, OpenPKG 2.0
  • OpenPKG, OpenPKG 2.1
  • OpenPKG, OpenPKG CURRENT
  • RedHat, Enterprise Linux 2.1 AW
  • RedHat, Enterprise Linux 2.1 WS
  • RedHat, Enterprise Linux 2.1 AS
  • RedHat, Enterprise Linux 2.1 ES
  • RedHat, Enterprise Linux 3 WS
  • RedHat, Enterprise Linux 3 ES
  • RedHat, Enterprise Linux 3 AS
  • RedHat, Enterprise Linux 3 Desktop
  • RedHat, Enterprise Linux 4 Desktop
  • RedHat, Enterprise Linux 4 WS
  • RedHat, Enterprise Linux 4 ES
  • RedHat, Enterprise Linux 4 AS
  • RedHat, Linux Advanced Workstation 2.1 Itanium
  • Sun, Solaris 9 x86
  • Sun, Solaris 9 SPARC
  • Turbolinux, Turbolinux 10 Desktop
  • Turbolinux, Turbolinux 10 F...
  • Turbolinux, Turbolinux 10 Server
  • Turbolinux, Turbolinux 8 Server
  • Turbolinux, Turbolinux Appliance Server 1.0
  • Turbolinux, Turbolinux Home
  • Turbolinux, Turbolinux Appliance Server 1.0 Hosting Ed
  • Turbolinux, Turbolinux Appliance Server 1.0 Workgroup Ed

Remedy:

Upgrade to the latest version of MIT Kerberos 5 (krb5-1.3.5 or later), when it becomes available, from the MIT Kerberos Web page. See References.

For Red Hat Linux:
Refer to RHSA-2005:562-15 for patch, upgrade, or suggested workaround information. See References.

For Debian GNU/Linux 3.0 (alias woody):
Upgrade to the latest MIT Kerberos 5 package (1.2.4-5woody6 or later), as listed in DSA-543-1. See References.

For Mandrake Linux:
Upgrade to the latest MIT Kerberos 5 package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2004:088 : krb5 for more information. See References.

Mandrake Linux 9.1: 1.2.7-1.4.91mdk or later
Mandrake Linux 9.2: 1.3-3.3.92mdk or later
Mandrake Linux Multi Network Firewall 8.2: 1.2.2-17.8.M82mdk or later
Mandrake Linux Corporate Server 2.1: 1.2.5-1.7.C21mdk or later
Mandrake Linux 10.0: 1.3-6.3.100mdk or later

For Sun Solaris:
Apply the appropriate patch for your system, as listed below. Refer to Sun Alert ID: 57631 for more information. See References.

SPARC Platform:
Solaris 9 with patch 112908-16 or later

x86 Platform:
Solaris 9 with patch 115168-05 or later

For Gentoo Linux:
Upgrade to the latest version of MIT Kerberos 5 (1.3.4 or later), as listed in GLSA 200409-09. See References.

For Conectiva Linux:
Upgrade to the latest krb5 package, as listed below. Refer to Conectiva Linux Security Announcement CLSA-2004:860 for more information. See References.

Conectiva Linux 9: 1.2.7-28721U90_3cl or later
Conectiva Linux 10.0: 1.3.3-62470U10_2cl or later

For OpenPKG:
Upgrade to the latest kerberos package, as listed in OpenPKG Security Advisory OpenPKG-SA-2004.039. See References.

OpenPKG CURRENT:1.3.4-20040730 or later
OpenPKG 2.1:1.3.4-2.1.0 or later
OpenPKG 2.0 :1.3.1-2.0.1 or later

For Turbolinux:
Upgrade to the latest krb5 package, as listed below. Refer to Turbolinux Security Advisory TLSA-2004-22 for more information. See References.

Turbolinux Appliance Server 1.0 Hosting Edition,Turbolinux Appliance Server 1.0 Workgroup Edition, Turbolinux 10 Desktop, and Turbolinux 8 Server: 1.2.5-15 or later

For Mac OS:
Apply Security Update 2004-12-02, as listed in AppleCare Knowledge Base Document 61798. See References.

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

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

Consequences:

Gain Access

References:

Reported:

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

Return to the main page