MIT Kerberos administration daemon (kadmind) GSS-API library code execution

kerberos-kadmind-code-execution (33413) The risk level is classified as HighHigh Risk

Description:

The MIT Kerberos administration daemon (kadmind) could allow a remote attacker to execute arbitrary code on the system, caused by a double free memory corruption vulnerability in the kg_unseal_v1() function in src/lib/gssapi/krb5/k5unseal.c, which is part of the GSS-API library. A remote authenticated attacker could exploit this vulnerability by sending a specially crafted Kerberos message to execute arbitrary code on the system with root privileges or cause the affected application to crash.

*CVSS:

Base Score: 6
  Access Vector: Remote
  Access Complexity: Low
  Authentication: Required
  Confidentiality Impact: Complete
  Integrity Impact: Complete
  Availability Impact: Complete
 
Temporal Score: 4.4
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

Refer to MITKRB5-SA-2007-003 for patch or upgrade information. See References.

For Apple Mac OS X:
Apply Apple Security Update 2007-004, available from the Apple Web site. See References.

For Red Hat Linux (krb5):
Refer to RHSA-2007:0095 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux:
Refer to GLSA 200704-02 for patch, upgrade, or suggested workaround information. See References.

For Debian GNU/Linux 3.1 (krb5):
Refer to DSA-1276-1 for patch, upgrade, or suggested workaround information. See References.

For SUSE Linux (krb5):
Refer to SUSE-SA:2007:025 for patch, upgrade, or suggested workaround information. See References.

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

For Mandriva Linux:
Refer to MDKSA-2007:077 for patch, upgrade, or suggested workaround information. See References.

For Turbolinux (krb5):
Refer to TLSA-2007-24 for patch, upgrade, or suggested workaround information. See References.

For HP-UX:
Refer to HPSBUX02217 SSRT071337 for patch, upgrade, or suggested workaround information. See References.

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

References:

  • Apple Security Update 2007-004: About Security Update 2007-004.
  • Apple Web site: Apple security updates.
  • HPSBUX02217 SSRT071337 : HP-UX running Kerberos, Remote Arbitrary Code Execution.
  • MITKRB5-SA-2007-003 : double-free vulnerability in kadmind (via GSS-API library) .
  • ASA-2007-143: krb5 security update (RHSA-2007-0095)
  • BID-23282: MIT Kerberos Administration Daemon Kadmind Double Free Memory Corruption Vulnerabilities
  • CVE-2007-1216: Double free vulnerability in the GSS-API library (lib/gssapi/krb5/k5unseal.c), as used by the Kerberos administration daemon (kadmind) in MIT krb5 before 1.6.1, when used with the authentication method provided by the RPCSEC_GSS RPC library, allows remote authenticated users to execute arbitrary code and modify the Kerberos key database via a message with an an invalid direction encoding.
  • DSA-1276: krb5 -- several vulnerabilities
  • GLSA-200704-02: MIT Kerberos 5: Arbitrary remote code execution
  • MDKSA-2007:077: Updated krb5 packages fix vulnerabilities
  • MDKSA-2007:077-1: Updated krb5 packages fix vulnerabilities
  • RHSA-2007-0095: Critical: krb5 security update
  • SA24740: Kerberos Multiple Vulnerabilities
  • SA24966: Mac OS X Security Update Fixes Multiple Vulnerabilities
  • SECTRACK ID: 1017852: Kerberos kadmin `gss_buffer_t` May Be Freed Twice Allowing Remote Authenticated Users to Execute Arbitrary Code
  • SUSE-SA:2007:025: krb5 security problems

Platforms Affected:

  • Apple Mac OS X 10.3.9
  • Apple Mac OS X 10.4.9
  • Apple Mac OS X Server 10.3.9
  • Apple Mac OS X Server 10.4.9
  • Canonical Ubuntu 5.10
  • Canonical Ubuntu 6.06 LTS
  • Canonical Ubuntu 6.10
  • Debian Debian Linux 3.1
  • Debian Debian Linux 4.0
  • Gentoo Linux
  • HP HP-UX B.11.11
  • HP HP-UX B.11.23
  • HP HP-UX B.11.31
  • MandrakeSoft Mandrake Linux 2006
  • MandrakeSoft Mandrake Linux 2006 X86_64
  • MandrakeSoft Mandrake Linux 2007 X86_64
  • MandrakeSoft Mandrake Linux 2007
  • MandrakeSoft Mandrake Linux 2007.1 X86_64
  • MandrakeSoft Mandrake Linux 2007.1
  • MandrakeSoft Mandrake Linux Corporate Server 3.0
  • MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 4.0
  • MandrakeSoft Mandrake Multi Network Firewall 2.0
  • 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
  • MIT Kerberos 5-1.3.5
  • MIT Kerberos 5-1.3.6
  • MIT Kerberos 5-1.4
  • MIT Kerberos 5-1.4.1
  • MIT Kerberos 5-1.4.2
  • MIT Kerberos 5-1.4.3
  • MIT Kerberos 5-1.4.4
  • MIT Kerberos 5-1.5
  • MIT Kerberos 5-1.5.1
  • MIT Kerberos 5-1.5.2
  • MIT Kerberos 5-1.5.3
  • MIT Kerberos 5-1.5.4
  • MIT Kerberos 5-1.6
  • Novell OpenSUSE 10.2
  • RedHat Enterprise Linux 2.1 WS
  • RedHat Enterprise Linux 2.1 AS
  • RedHat Enterprise Linux 2.1 ES
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 5
  • RedHat Enterprise Linux 5 Client
  • RedHat Enterprise Linux 5 Client Workstation
  • RedHat Enterprise Linux Desktop 5.0
  • RedHat Linux Advanced Workstation 2.1 Itanium
  • SUSE SuSE Linux 10.0
  • SUSE SuSE Linux 10.1
  • SUSE SuSE Linux 9.3
  • SuSE SuSE SLED 10
  • SuSE SuSE SLES 10
  • Turbolinux Turbolinux 10 Desktop
  • Turbolinux Turbolinux 10 F...
  • Turbolinux Turbolinux 10 Server
  • Turbolinux Turbolinux 10 Server x64 Ed
  • Turbolinux Turbolinux 8 Server
  • Turbolinux Turbolinux Home
  • Turbolinux Turbolinux Multimedia
  • Turbolinux Turbolinux Personal
  • Turbolinux Turbolinux Appliance Server 2.0

Reported:

Apr 03, 2007

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

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.