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.

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
  • MandrakeSoft, Mandrake Linux 2006 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 3.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 Desktop
  • RedHat, Enterprise Linux 4 WS
  • RedHat, Enterprise Linux 4 ES
  • RedHat, Enterprise Linux 4 AS

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.

Consequences:

Gain Privileges

References:

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 xforce@iss.net

Return to the main page