SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

 

Vulnerability Note VU#401660

MIT Kerberos (krb5) ftpd and ksu do not properly validate seteuid() calls

Overview

Privilege escalation vulnerabilities in MIT krb5 ftpd and ksu may allow an authenticated attacker to execute arbitrary code.

I. Description

The MIT krb 5 ftpd and ksu programs contain multiple privilege escalation vulnerabilities.

These vulnerabilities are dependent on the host operating system's implementation of the seteuid() system call and result when seteuid() can fail due to resource exhaustion while changing to an unprivileged user ID. Some implementations of seteuid() do not expose the vulnerability.

From MIT krb5 Security Advisory 2006-001:

The following vulnerabilities may result from unchecked calls to seteuid(). These vulnerabilities are not yet known to exist on any operating system:

  • Unchecked calls to seteuid() in ftpd may allow a local privilege escalation leading to reading, writing, or creating files as root.
  • Unchecked calls to seteuid() in the ksu program may allow a local privilege escalation resulting in filling a file with null bytes as root and then deleting it (the "kdestroy" operation).

II. Impact

An authenticated attacker may be able to execute arbitrary code with root privileges.

III. Solution

Upgrade

The MIT Kerberos team has released an update to address these issues. See the Systems Affected section of this document for information about specific vendors. Users who compile Kerberos from the original source distribution should see MIT krb5 Security Advisory 2006-001 for more details.

Disable vulnerable programs

From MIT krb5 Security Advisory 2006-001: "Disable krshd and ftpd, and remove the setuid bit from the ksu binary and the v4rcp binary."

Systems Affected

VendorStatusDate Updated
Apple Computer, Inc.Not Vulnerable18-Aug-2006
AttachmateWRQ, Inc.Not Vulnerable23-Aug-2006
Conectiva Inc.Unknown28-Jul-2006
Cray Inc.Unknown28-Jul-2006
CyberSafe, Inc.Unknown28-Jul-2006
Debian GNU/LinuxUnknown24-Aug-2006
EMC, Inc. (formerly Data General Corporation)Unknown28-Jul-2006
Engarde Secure LinuxUnknown28-Jul-2006
F5 Networks, Inc.Unknown28-Jul-2006
Fedora ProjectUnknown28-Jul-2006
FreeBSD, Inc.Unknown28-Jul-2006
FujitsuUnknown28-Jul-2006
Gentoo LinuxVulnerable24-Aug-2006
Heimdal Kerberos ProjectUnknown28-Jul-2006
Hewlett-Packard CompanyUnknown28-Jul-2006
HitachiUnknown28-Jul-2006
IBM CorporationNot Vulnerable8-Aug-2006
IBM Corporation (zseries)Unknown28-Jul-2006
IBM eServerUnknown28-Jul-2006
Immunix Communications, Inc.Unknown28-Jul-2006
Ingrian Networks, Inc.Unknown28-Jul-2006
Juniper Networks, Inc.Not Vulnerable8-Aug-2006
KTH Kerberos TeamUnknown28-Jul-2006
Mandriva, Inc.Vulnerable24-Aug-2006
Microsoft CorporationUnknown28-Jul-2006
MIT Kerberos Development TeamVulnerable8-Aug-2006
MontaVista Software, Inc.Unknown28-Jul-2006
NEC CorporationUnknown28-Jul-2006
NetBSDUnknown28-Jul-2006
NokiaUnknown28-Jul-2006
Novell, Inc.Unknown28-Jul-2006
OpenBSDUnknown28-Jul-2006
Openwall GNU/*/LinuxUnknown28-Jul-2006
QNX, Software Systems, Inc.Unknown28-Jul-2006
Red Hat, Inc.Unknown28-Jul-2006
Silicon Graphics, Inc.Unknown28-Jul-2006
Slackware Linux Inc.Unknown28-Jul-2006
Sony CorporationUnknown28-Jul-2006
Sun Microsystems, Inc.Unknown28-Jul-2006
SUSE LinuxUnknown28-Jul-2006
The SCO GroupUnknown28-Jul-2006
Trustix Secure LinuxUnknown28-Jul-2006
TurbolinuxUnknown28-Jul-2006
UbuntuUnknown28-Jul-2006
UnisysUnknown28-Jul-2006
Wind River Systems, Inc.Unknown28-Jul-2006

References

http://www.kb.cert.org/vuls/id/580124
http://web.mit.edu/Kerberos/advisories/MITKRB5-SA-2006-001-setuid.txt

Credit

Thanks to the MIT Kerberos Team for reporting this issue. The MIT Kerberos Team in turn thanks Michael Calmer and Marcus Meissner at SUSE and Shiva Persaud at IBM for providing information about AIX.

This document was written by Ryan Giobbi.

Other Information

Date Public07/26/2006
Date First Published08/15/2006 04:25:29 PM
Date Last Updated08/16/2006
CERT Advisory 
CVE NameCVE-2006-3084
US-CERT Technical Alerts 
Metric2.33
Document Revision37

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Produced 2006 by US-CERT, a government organization
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader