Kerberos kadmind svcauth_gss_validate buffer overflow

kerberos-svcauthgssvalidate-bo (36437) The risk level is classified as HighHigh Risk

Description:

Kerberos and applications implementing the Kerberos RPC library are vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the svcauth_gss_validate function in the MIT krb5 Kerberos administration daemon (kadmind) RPC library. By sending a specially-crafted RPC authentication context message containing an overly long string, a remote attacker could overflow a buffer and cause the daemon to crash or execute arbitrary code on the system.

*CVSS:

Base Score: 10
  Access Vector: Network
  Access Complexity: Low
  Authentication: None
  Confidentiality Impact: Complete
  Integrity Impact: Complete
  Availability Impact: Complete
 
Temporal Score: 7.4
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

Refer to MIT krb5 Security Advisory 2007-006 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Apply the appropriate update for your system. See References.

References:

  • Apple Web site: About the security content of Mac OS X 10.4.11 and Security Update 2007-008.
  • BugTraq Mailing List, Tue Sep 04 2007 - 13:16:53 CDT: MITKRB5-SA-2007-006: kadmind RPC lib buffer overflow, uninitialized pointer.
  • BugTraq Mailing List, Wed Sep 05 2007 - 15:47:11 CDT: updated patch: MITKRB5-SA-2007-006: kadmind RPC lib buffer overflow, uninitialized pointer.
  • CITI Web site: CITI: Projects: NFS Version 4 Open Source Reference Implementation.
  • Kerberos Web site: Kerberos: The Network Authentication Protocol.
  • MIT krb5 Security Advisory 2007-006: kadmind RPC lib buffer overflow, uninitialized pointer.
  • Sun Alert ID: 103060: Security Vulnerability in RPCSEC_GSS (rpcsec_gss(3NSL)) Affects Kerberos Administration Daemon (kadmind(1M)).
  • ZDI-07-052: Multiple Kerberos Implementations Authentication Context Stack Overflow Vulnerability.
  • ASA-2007-396: nfs-utils-lib security update (RHSA-2007-0913)
  • BID-25534: MIT Kerberos 5 KAdminD Server SVCAuth_GSS_Validate Stack Buffer Overflow Vulnerability
  • BID-26444: Apple Mac OS X v10.4.11 2007-008 Multiple Security Vulnerabilities
  • CVE-2007-3999: Stack-based buffer overflow in the svcauth_gss_validate function in lib/rpc/svc_auth_gss.c in the RPCSEC_GSS RPC library (librpcsecgss) in MIT Kerberos 5 (krb5) 1.4 through 1.6.2, as used by the Kerberos administration daemon (kadmind) and some third-party applications that use krb5, allows remote attackers to cause a denial of service (daemon crash) and probably execute arbitrary code via a long string in an RPC message.
  • CVE-2007-4743: The original patch for CVE-2007-3999 in svc_auth_gss.c in the RPCSEC_GSS RPC library in MIT Kerberos 5 (krb5) 1.4 through 1.6.2, as used by the Kerberos administration daemon (kadmind) and other applications that use krb5, does not correctly check the buffer length in some environments and architectures, which might allow remote attackers to conduct a buffer overflow attack.
  • DSA-1367: krb5 -- buffer overflow
  • DSA-1368: librpcsecgss -- buffer overflow
  • DSA-1387: librpcsecgss -- buffer overflow
  • GLSA-200709-01: MIT Kerberos 5: Multiple vulnerabilities
  • GLSA-200710-01: RPCSEC_GSS library: Buffer overflow
  • MDKSA-2007:174: Updated krb5 packages fix vulnerabilities
  • MDKSA-2007:174-1: Updated krb5 packages fix vulnerabilities
  • MDKSA-2007:181: Updated librpcsecgss packages fix vulnerabilities
  • RHSA-2007-0858: Important: krb5 security update
  • RHSA-2007-0892: Important: krb5 security update
  • RHSA-2007-0913: Important: nfs-utils-lib security update
  • RHSA-2007-0951: Important: nfs-utils-lib security update
  • SA26676: Kerberos Multiple Vulnerabilities
  • SA26705: librpcsecgss "svcauth_gss_validate()" Buffer Overflow
  • SA26713: Sun Solaris Kerberos RPCSEC_GSS Vulnerability
  • SA27146: Avaya Products nfs-utils-lib Denial of Service
  • SA27643: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
  • SA29247: libtirpc "svcauth_gss_validate()" Buffer Overflow
  • SECTRACK ID: 1018647: Kerberos kadmind Stack Overflow and Uninitialized Pointer Lets Remote Users Execute Arbitrary Code
  • SUSE-SR:2007:019: SUSE Security Summary Report
  • SUSE-SR:2007:024: SUSE Security Summary Report
  • US-CERT VU#883632: MIT Kerberos 5 kadmind buffer overflow vulnerability
  • USN-511-1: Kerberos vulnerability
  • USN-511-2: Kerberos vulnerability
  • VUPEN/ADV-2007-3051: MIT Kerberos Multiple Remote Command Execution and DoS Vulnerabilities
  • VUPEN/ADV-2007-3052: librpcsecgss svcauth_gss_validate() Remote Code Execution Vulnerability
  • VUPEN/ADV-2007-3060: Sun Solaris Security Update Fixes Kerberos Command Execution Vulnerability
  • VUPEN/ADV-2007-3868: Apple Mac OS X Command Execution and Denial of Service Vulnerabilities
  • VUPEN/ADV-2008-0803: Libtirpc svcauth_gss_validate() Remote Code Execution Vulnerability

Platforms Affected:

  • Apple Mac OS X 10.4
  • Apple Mac OS X 10.4.1
  • Apple Mac OS X 10.4.10
  • Apple Mac OS X 10.4.2
  • Apple Mac OS X 10.4.3
  • Apple Mac OS X 10.4.4
  • Apple Mac OS X 10.4.5
  • Apple Mac OS X 10.4.6
  • Apple Mac OS X 10.4.7
  • Apple Mac OS X 10.4.8
  • Apple Mac OS X 10.4.9
  • Apple Mac OS X Server 10.4
  • Apple Mac OS X Server 10.4.1
  • Apple Mac OS X Server 10.4.10
  • Apple Mac OS X Server 10.4.2
  • Apple Mac OS X Server 10.4.3
  • Apple Mac OS X Server 10.4.4
  • Apple Mac OS X Server 10.4.5
  • Apple Mac OS X Server 10.4.6
  • Apple Mac OS X Server 10.4.7
  • Apple Mac OS X Server 10.4.8
  • Apple Mac OS X Server 10.4.9
  • Avaya Application Enablement Services 3.1.3
  • Avaya Intuity Audix LX
  • Avaya Message Networking
  • Avaya Message Storage Server 3.0
  • Canonical Ubuntu 6.06 LTS
  • Canonical Ubuntu 6.10
  • Canonical Ubuntu 7.04
  • CITI librpcsecgss prior to 0.15
  • Debian Debian Linux 4.0
  • Gentoo Linux
  • MandrakeSoft Mandrake Linux 2007
  • MandrakeSoft Mandrake Linux 2007 X86_64
  • MandrakeSoft Mandrake Linux 2007.1 X86_64
  • MandrakeSoft Mandrake Linux 2007.1
  • MandrakeSoft Mandrake Linux 2008.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 4.0
  • 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.6
  • MIT Kerberos 5-1.6.1
  • MIT Kerberos 5-1.6.2
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 5
  • RedHat Enterprise Linux 5 Client
  • RedHat Enterprise Linux 5 Server
  • RedHat Enterprise Linux 5 Client Workstation
  • RedHat Enterprise Linux Desktop 5.0
  • Sun Solaris 10 SPARC
  • Sun Solaris 10 x86
  • Sun Solaris 8 x86
  • Sun Solaris 8 SPARC
  • Sun Solaris 9 x86
  • Sun Solaris 9 SPARC
  • SUSE SuSE Linux

Reported:

Sep 04, 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.