MIT Kerberos (krb5) setuid() krshd and v4rcp privilege escalation

kerberos-setuid-privilege-escalation (28378) The risk level is classified as MediumMedium Risk

Description:

MIT Kerberos could allow a local attacker to gain elevated privileges on the system. The krshd and v4rcp applications, which are included in the Kerberos source distribution, make unchecked setuid() system calls. An attacker could exploit these vulnerabilities to execute arbitrary code or read, write or create arbitrary files with root privileges.

*CVSS:

Base Score: 7
  Access Vector: Local
  Access Complexity: Low
  Authentication: Not Required
  Confidentiality Impact: Complete
  Integrity Impact: Complete
  Availability Impact: Complete
 
Temporal Score: 5.2
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Privileges

Remedy:

Upgrade to the latest version of Kerberos (krb5-1.5.1 or later) or (krb5-1.4.4 or later), as listed in MIT krb5 Security Advisory 2006-001. See References.

—OR—

Apply the appropriate patch for your system, as listed in MIT krb5 Security Advisory 2006-001. See References.

For Heimdal:
Apply the patch for this vulnerability, as listed in Heimdal Security Advisory 2006-08-08. See References.

For Debian GNU/Linux:
Refer to DSA-1146-1 for patch, upgrade, or suggested workaround information. See References.

For Red Hat:
Refer to RHSA-2006:0612-8 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 200608-15 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux (Heimdal):
Refer to Gentoo Linux Security Announcement GLSA 200608-21 for patch, upgrade, or suggested workaround information. See References.

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

References:

  • Heimdal Security Advisory: 2006-08-08: multiple local privilege escalation vulnerabilities.
  • Kerberos Web site: Kerberos: The Network Authentication Protocol.
  • MIT krb5 Security Advisory 2006-001: multiple local privilege escalation vulnerabilities.
  • ASA-2006-211: krb5 security update (RHSA-2006-0612)
  • BID-19427: MIT Kerberos 5 Multiple Local Privilege Escalation Vulnerabilities
  • CVE-2006-3083: The (1) krshd and (2) v4rcp applications in (a) MIT Kerberos 5 (krb5) up to 1.5, and 1.4.x before 1.4.4, when running on Linux and AIX, and (b) Heimdal 0.7.2 and earlier, do not check return codes for setuid calls, which allows local users to gain privileges by causing setuid to fail to drop privileges using attacks such as resource exhaustion.
  • DSA-1146: krb5 -- programming error
  • GLSA-200608-15: MIT Kerberos 5: Multiple local privilege escalation vulnerabilities
  • GLSA-200608-21: Heimdal: Multiple local privilege escalation vulnerabilities
  • MDKSA-2006:139: Updated krb5 packages fix local privilege escalation vulnerability
  • MDVSA-2010:129: heimdal
  • OSVDB ID: 27869: MIT Kerberos 5 krshd setuid() Local Privilege Escalation
  • OSVDB ID: 27870: MIT Kerberos 5 v4rcp setuid() Local Privilege Escalation
  • RHSA-2006-0612: krb5 security update
  • SA21402: Kerberos V5 setuid Security Issue
  • SA21436: Heimdal setuid Security Issue
  • SA22291: Avaya Products Kerberos V5 setuid Security Issue
  • SECTRACK ID: 1016664: Kerberos Application Flaws in Evaluating setuid/seteuid Calls May Let Local Users Gain Elevated Privileges
  • SUSE-SR:2006:020: SUSE Security Summary Report
  • SUSE-SR:2006:022: SUSE Security Summary Report
  • US-CERT VU#580124: MIT Kerberos (krb5) krshd and v4rcp do not properly validate setuid() or seteuid() calls
  • USN-334-1: krb5 vulnerabilities
  • VUPEN/ADV-2006-3225: Kerberos V5 setuid() and seteuid() Calls Handling Local Privilege Escalation Vulnerability

Platforms Affected:

  • Canonical Ubuntu 5.04
  • Canonical Ubuntu 5.10
  • Canonical Ubuntu 6.06 LTS
  • Debian Debian Linux 3.1
  • Gentoo Linux
  • Heimdal Developers Heimdal 0.7.2 and prior
  • MandrakeSoft Mandrake Linux 2006 X86_64
  • MandrakeSoft Mandrake Linux 2006
  • 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.4
  • MIT Kerberos 5-1.4.1
  • MIT Kerberos 5-1.4.2
  • MIT Kerberos 5-1.4.3
  • MIT Kerberos 5-1.5
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Enterprise Linux 4 WS

Reported:

Aug 08, 2006

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 ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

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.