MIT Kerberos administration daemon (kadmind) krb5_klog_syslog() buffer overflow

kerberos-krb5klogsyslog-bo (33411) The risk level is classified as HighHigh Risk

Description:

The MIT Kerberos administration daemon (kadmind) is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the krb5_klog_syslog() function. By sending a specially-crafted string to kadmind, a remote authenticated attacker could overflow a buffer and 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-002 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 Novell KDC:
Refer to Novell Security Alert 3618705 for patch or upgrade information. 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 Solaris (kadm5):
Refer to Sun Alert ID: 102930 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.
  • iDefense Labs PUBLIC ADVISORY: 04.03.07: Multiple Vendor Kerberos kadmind Buffer Overflow Vulnerability.
  • MITKRB5-SA-2007-002 : KDC, kadmind stack overflow in krb5_klog_syslog .
  • Novell Security Alert 3618705: Security Update: KDC and kadmin stack overflow in krb5_klog_syslog.
  • Sun Alert ID: 102930: Security Vulnerability in the Kerberos kadm5 Library May Allow Execution of Arbitrary Code.
  • ASA-2007-143: krb5 security update (RHSA-2007-0095)
  • ASA-2007-221: Security Vulnerability in the Kerberos kadm5 Library May Allow Execution of Arbitrary Code (Sun 102930)
  • BID-23285: MIT Kerberos 5 KAdminD Server Stack Buffer Overflow Vulnerability
  • CVE-2007-0957: Stack-based buffer overflow in the krb5_klog_syslog function in the kadm5 library, as used by the Kerberos administration daemon (kadmind) and Key Distribution Center (KDC), in MIT krb5 before 1.6.1 allows remote authenticated users to execute arbitrary code and modify the Kerberos key database via crafted arguments, possibly involving certain format string specifiers.
  • 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
  • SA24798: Novell Kerberos KDC "krb5_klog_syslog()" Buffer Overflow
  • SA24966: Mac OS X Security Update Fixes Multiple Vulnerabilities
  • SA25464: Sun Solaris Kerberos kadm5 Library Vulnerability
  • SECTRACK ID: 1017849: Kerberos kadmin/KDC Stack Overflow in krb5_klog_syslog() Lets Remote Authenticated Users 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
  • 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 Desktop
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 5 Client Workstation
  • RedHat Enterprise Linux 5
  • RedHat Enterprise Linux 5 Client
  • RedHat Enterprise Linux Desktop 5.0
  • RedHat Linux Advanced Workstation 2.1 Itanium
  • Sun Solaris 10 SPARC
  • Sun Solaris 10 x86
  • Sun Solaris 8 SPARC
  • Sun Solaris 8 x86
  • Sun Solaris 9 x86
  • Sun Solaris 9 SPARC
  • 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.