MIT Kerberos rename_principal_2_svc buffer overflow
| kerberos-renameprincipal2svc-bo (35080) |
Description:
Kerberos is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the kadmind server's rename_principal_2_svc function. By sending a specially-crafted request to rename principals, an authenticated remote attacker could overflow a buffer and execute arbitrary code on the system with root privileges.
Platforms Affected:
- Apple, Mac OS X 10.3.9
- Apple, Mac OS X 10.4.10
- Apple, Mac OS X Server 10.3.9
- Apple, Mac OS X Server 10.4.10
- Canonical, Ubuntu 6.06 LTS
- Canonical, Ubuntu 6.10
- Canonical, Ubuntu 7.04
- Debian, Debian Linux 3.1
- Debian, Debian Linux 4.0
- Gentoo, Linux
- MandrakeSoft, Mandrake Linux 2007 X86_64
- MandrakeSoft, Mandrake Linux 2007
- MandrakeSoft, Mandrake Linux 2007.1
- MandrakeSoft, Mandrake Linux 2007.1 X86_64
- MandrakeSoft, Mandrake Linux 2008.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 3.0
- MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 4.0
- MandrakeSoft, Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft, Mandrake Multi Network Firewall 2.0
- 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.6
- MIT, Kerberos 5-1.6.1
- Novell, OpenSUSE 10.2
- Novell, SLE SDK 10 SP1
- Novell, SUSE Linux Enterprise Desktop 10 SP1
- Novell, SUSE Linux Enterprise Server 10
- Novell, SUSE Linux Enterprise Server 10 SP1
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 2.1 WS
- RedHat, Enterprise Linux 2.1 AS
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 3 WS
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 4 AS
- RedHat, Enterprise Linux 5 Client Workstation
- RedHat, Enterprise Linux 5
- RedHat, Enterprise Linux 5 Server
- RedHat, Enterprise Linux 5 Client
- RedHat, Enterprise Linux Desktop 5.0
- RedHat, Linux Advanced Workstation 2.1 Itanium
- Sun, SEAM 1.0.1 x86
- Sun, SEAM 1.0.1 SPARC
- Sun, Solaris 10 SPARC
- Sun, Solaris 10 x86
- Sun, Solaris 9 x86
- Sun, Solaris 9 SPARC
- SuSE, SLE SDK 10
- SuSE, SuSE SLES 9
- 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
- VMware, ESX Server 2.0.2
- VMware, ESX Server 2.1.3
- VMware, ESX Server 2.5.3
- VMware, ESX Server 2.5.4
- VMware, ESX Server 3.0.0
- VMware, ESX Server 3.0.1
- VMware, ESX Server 3.0.2
Remedy:
For VMware ESX 3.0.1:
Apply Patch Bundle ESX-1001723, available from the VMware Web site. See References.
For VMware ESX 3.0.0:
Apply Patch Bundle ESX-1001212, available from the VMware Web site. See References.
For VMware ESX 3.0.2:
Apply Patch Bundle ESX-1001731, available from the VMware Web site. See References.
For VMware ESX 2.5.4:
Upgrade to the latest version of VMware ESX (patch 10 Build 53326 or later), available from the VMware Web site. See References.
For VMware ESX 2.5.3:
Upgrade to the latest version of VMware ESX (patch 13 Build 52488 or later), available from the VMware Web site. See References.
For VMware ESX 2.1.3:
Upgrade to the latest version of VMware ESX (patch 8 Build 53228 or later), available from the VMware Web site. See References.
For VMware ESX 2.0.2:
Upgrade to the latest version of VMware ESX (patch 8 Build 52650 or later), available from the VMware Web site. See References.
For Mac OS:
Apply Apple Security Update 2007-007, available from the Apple Web site. See References.
Apply the patch for this vulnerability, as listed in MITKRB5-SA-2007-005. See References.
For Novell:
Refer to Novell Security Alert Document ID: 3675615 for patch, upgrade or suggested workaround information. See References.
For Red Hat Linux:
Refer to RHSA-2007:0562-2 for patch, upgrade, or suggested workaround information. See References.
For Mandriva Linux:
Refer to MDKSA-2007:137 for patch, upgrade, or suggested workaround information. See References.
For Ubuntu Linux:
Refer to USN-477-1 for patch, upgrade, or suggested workaround information. See References.
For Solaris (kadmind):
Refer to Sun Alert ID: 102985 for patch, upgrade, or suggested workaround information. See References.
For Debian/GNU Linux (krb5):
Refer to DSA-1323-1 for patch, upgrade, or suggested workaround information. See References.
For Gentoo Linux (MIT Kerberos):
Refer to GLSA 200707-11 for patch, upgrade, or suggested workaround information. See References.
For Turbolinux (krb5):
Refer to TLSA-2007-42 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Privileges
References:
- Apple Security Update 2007-007 , About Security Update 2007-007 at http://docs.info.apple.com/article.html?artnum=306172.
- Apple Web site, Apple security updates at http://docs.info.apple.com/article.html?artnum=61798.
- Full-Disclosure Mailing List, Wed Sep 19 2007 - 21:15:23 CDT, VMSA-2007-0006 Critical security updates for all supported versions of VMware ESX Server, VMware Server, VMware Workstation, VMware ACE, and VMware Player at http://archives.neohapsis.com/archives/fulldisclosure/2007-09/0356.html.
- iDefense Labs PUBLIC ADVISORY: 06.26.07, Multiple Vendor Kerberos kadmind Rename Principal Buffer Overflow Vulnerability at http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=548.
- MITKRB5-SA-2007-005, kadmind vulnerable to buffer overflow at http://web.mit.edu/Kerberos/advisories/MITKRB5-SA-2007-005.txt.
- Novell Security Alert Document ID: 3675615, Security Vulnerability: kadmind stack buffer overflow vulnerability at https://secure-support.novell.com/KanisaPlatform/Publishing/327/3675615_f.SAL_Public.html.
- Sun Alert ID: 102985, Security Vulnerability in the Kerberos Administration Daemon (kadmind(1M)) May Lead to Arbitrary Code Execution at http://sunsolve.sun.com/search/document.do?assetkey=1-26-102985-1.
- VMware Security-announce Mailing list, Wed Sep 19 19:15:23 PDT 2007, VMSA-2007-0006 Critical security updates for all supported versions of VMware ESX Server, VMware Server, VMware Workstation, VMware ACE, and VMware Player at http://lists.vmware.com/pipermail/security-announce/2007/000001.html.
- VMware, Inc. Web site, Download Patch ESX-1001723 for VMware ESX Server 3.0.1 at http://www.vmware.com/support/vi3/doc/esx-1001723-patch.html.
- VMware, Inc. Web site, Download Patch ESX-1001212 for VMware ESX Server 3.0.0 at http://www.vmware.com/support/vi3/doc/esx-1001212-patch.html.
- VMware, Inc. Web site, VMware ESX Server Download Archive at http://www.vmware.com/download/.
- VMware, Inc. Web site, Download Patch ESX-1001731 for VMware ESX Server 3.0.2 at http://www.vmware.com/support/vi3/doc/esx-1001731-patch.html.
- ASA-2007-289: krb5 security update (RHSA-2007-0384)
- ASA-2007-294: krb5 security update (RHSA-2007-0562)
- ASA-2007-304: Security Vulnerability in the Kerberos Administration Daemon (kadmind(1M)) May Lead to Arbitrary Code Execution (Sun 102985)
- BID-24653: MIT Kerberos 5 KAdminD Server Rename_Principal_2_SVC() Function Stack Buffer Overflow Vulnerability
- BID-25159: Apple Mac OS X 2007-007 Multiple Security Vulnerabilities
- CVE-2007-2798: Stack-based buffer overflow in the rename_principal_2_svc function in kadmind for MIT Kerberos 1.5.3, 1.6.1, and other versions allows remote authenticated users to execute arbitrary code via a crafted request to rename a principal.
- DSA-1323: krb5 -- several vulnerabilities
- FrSIRT/ADV-2007-2337: MIT Kerberos kadmind Multiple Remote Code Execution and Denial of Service Issues
- FrSIRT/ADV-2007-2370: Sun Solaris and SEAM Kerberos Administration Daemon Code Execution Vulnerability
- FrSIRT/ADV-2007-2491: Novell Key Distribution Center (KDC) Multiple Remote Code Execution Vulnerabilities
- FrSIRT/ADV-2007-2732: Apple Mac OS X Multiple Code Execution and Denial of Service Vulnerabilities
- FrSIRT/ADV-2007-3229: VMware Products Command Execution and Security Bypass Vulnerabilities
- GLSA-200707-11: MIT Kerberos 5: Arbitrary remote code execution
- MDKSA-2007:137: Updated krb5 packages fix vulnerabilities
- RHSA-2007-0384: Critical: krb5 security update
- RHSA-2007-0562: Important: krb5 security update
- SA25800: Kerberos Multiple Vulnerabilities
- SA25875: Sun Solaris/SEAM kadmind Buffer Overflow Vulnerability
- SA26033: Novell Kerberos KDC Multiple Vulnerabilities
- SA26235: Mac OS X Security Update Fixes Multiple Vulnerabilities
- SA26909: VMware ESX Server Multiple Security Updates
- SECTRACK ID: 1018295: Kerberos kadmind Buffer Overflow in rename_principal_2_svc() Lets Remote Users Execute Arbitrary Code
- SUSE-SA:2007:038: krb5 security problems
Reported:
Jun 26, 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 (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.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
