util-linux "login" using pam_limits could allow a local attacker to gain elevated privileges
| utillinux-pamlimits-gain-privileges (7266) |
Description:
The util-linux package included with some Linux distributions could allow a local attacker to gain elevated privileges on the system. If pam_limits is used to regulate the number of users that access the system using the 'login' program, some users may gain the privileges of console or pts/o upon logging into the system.
Consequences:
Gain Privileges
Remedy:
For Red Hat Linux 7.1:
Upgrade to the latest version of util-linux (2.11f-11.7.1 or later), as listed in RHSA-2001:132-04. See References.
For Red Hat Linux 7.2:
Upgrade to the latest version of util-linux (2.11f-12 or later), as listed in RHSA-2001:132-04. See References.
For Trustix Secure Linux 1.5:
Upgrade to the latest version of util-linux (2.11f-6tr or later), as listed in Trustix Secure Linux Security Advisory #2001-0025. See References.
For SuSE Linux 6.3 and 6.4 (i386 Intel):
Upgrade to the latest version of shadow (19990827-145 or later), as listed in SuSE Security Announcement SuSE-SA:2001:034. See References.
For SuSE Linux 7.0 (i386 Intel):
Upgrade to the latest version of shadow (19990827-170 or later), as listed in SuSE Security Announcement SuSE-SA:2001:034. See References.
For SuSE Linux 7.1 and 7.2 (i386 Intel):
Upgrade to the latest version of shadow (20000902-145 or later), as listed in SuSE Security Announcement SuSE-SA:2001:034. See References.
For SuSE Linux 7.3 (i386 Intel):
Upgrade to the latest version of shadow (19990827-144 or later), as listed in SuSE Security Announcement SuSE-SA:2001:034. See References.
For SuSE Linux 7.0 (Sparc):
Upgrade to the latest version of shadow (19990827-2 or later), as listed in SuSE Security Announcement SuSE-SA:2001:034. See References.
For SuSE Linux 7.1 (Sparc):
Upgrade to the latest version of shadow (20000902-92 or later), as listed in SuSE Security Announcement SuSE-SA:2001:034. See References.
For SuSE Linux 6.3, 6.4, 7.0 (AXP Alpha):
Upgrade to the latest version of shadow (19990827-74 or later), as listed in SuSE Security Announcement SuSE-SA:2001:034. See References.
For SuSE Linux 7.1 (AXP Alpha):
Upgrade to the latest version of shadow (20000902-88 or later), as listed in SuSE Security Announcement SuSE-SA:2001:034. See References.
For SuSE Linux 6.4 and 7.0 (PPC Power PC):
Upgrade to the latest version of shadow (19990827-182 or later), as listed in SuSE Security Announcement SuSE-SA:2001:034. See References.
For SuSE Linux 7.1 (PPC Power PC):
Upgrade to the latest version of shadow (20000902-61 or later), as listed in SuSE Security Announcement SuSE-SA:2001:034. See References.
For Mandrake Linux 8.0:
Upgrade to the latest version of util-linux (2.10s-3.1mdk or later), as listed in MandrakeSoft Security Advisory MDKSA-2001:084 : util-linux. See References.
For Mandrake Linux 8.0 (PPC):
Upgrade to the latest version of util-linux (2.11h-3.2mdk or later), as listed in MandrakeSoft Security Advisory MDKSA-2001:084 : util-linux. See References.
For Mandrake Linux 8.1:
Upgrade to the latest version of util-linux (2.11h-3.1mdk or later), as listed in MandrakeSoft Security Advisory MDKSA-2001:084 : util-linux. See References.
For other distributions:
Contact your vendor for patch or upgrade information.
References:
- BugTraq Mailing List, Mon Oct 08 2001 - 08:52:57 CDT: pam_limits.so Bug!!.
- BugTraq Mailing List, Tue Oct 09 2001 - 00:10:27 CDT: Re: pam_limits.so Bug!!.
- CIAC Information Bulletin M-009: Red Hat Linux PAM Vulnerability.
- SuSE Security Announcement SuSE-SA:2001:034: shadow/login.
- Trustix Secure Linux Security Advisory #2001-0025: Util-linux.
- BID-3415: Util-Linux Login Pam Privilege Elevation Vulnerability
- CVE-2001-1147: The PAM implementation in /bin/login of the util-linux package before 2.11 causes a password entry to be rewritten across multiple PAM calls, which could provide the credentials of one user to a different user, when used in certain PAM modules such as pam_limits.
- RHSA-2001-132: New util-linux packages available to fix /bin/login pam problem
Platforms Affected:
- Kernel util-linux 2.11h
- Kernel util-linux 2.11i
- Kernel util-linux 2.11k
- Kernel util-linux 2.11l
- MandrakeSoft Mandrake Linux 8.0
- MandrakeSoft Mandrake Linux 8.1
- RedHat Linux 6.2
- RedHat Linux 7
- RedHat Linux 7.1
- RedHat Linux 7.2
- RedHat Linux 7.3
- SUSE SuSE Linux 6.3
- SUSE SuSE Linux 6.4
- SUSE SuSE Linux 7.0
- SUSE SuSE Linux 7.1
- SUSE SuSE Linux 7.2
- SUSE SuSE Linux 7.3
- Trustix Secure Linux 1.5
Reported:
Oct 08, 2001
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
