Title: Kerberos 5 su Privilege Escalation Vulnerability
Severity: MODERATE
Description:
Kerberos 5 includes a version of 'su', a utility that can be used by a user to change user-identity while logged in. This utility is known as 'k5su'.
A vulnerability in k5su may allow for a local user to elevate privileges under certain circumstances. When root runs 'k5su', no password should be required to switch to arbitrary userids. The user running k5su is determined by the output of getlogin(), a function which returns the username associated with the process' controlling terminal.
If the username 'root' is returned, the program functions as though root is using it and does not request passwords. Under certain circumstances, users may have 'root' returned by getlogin(). This may occur if their username is explicitly set to 'root' or if a process lowers privileges but does not set a new login name via setlogin().
On such systems, k5su would act as though root were running it and not prompt for a password. Exploitation of this vulnerability may result in a compromise of root access to local attackers.
Affected Products:
- FreeBSD 4.x Heimdal Port 0.4.0e
- FreeBSD 5.x Heimdal Port 0.4.0e
- FreeBSD FreeBSD 4.0.0
- FreeBSD FreeBSD 4.1.0
- FreeBSD FreeBSD 4.1.1
- FreeBSD FreeBSD 4.1.1 -RELEASE
- FreeBSD FreeBSD 4.1.1 -STABLE
- FreeBSD FreeBSD 4.2.0
- FreeBSD FreeBSD 4.2.0 -RELEASE
- FreeBSD FreeBSD 4.2.0 -STABLE
- FreeBSD FreeBSD 4.3.0
- FreeBSD FreeBSD 4.3.0 -RELEASE
- FreeBSD FreeBSD 4.3.0 -STABLE
- FreeBSD FreeBSD 4.4.0
- FreeBSD FreeBSD 4.6.0
- FreeBSD FreeBSD 4.6.0 -RELEASE
- KTH Heimdal 0.4.0e
- S.u.S.E. Linux 8.0.0
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.