Mandrake: 'util-linux' PAM buffer overflow
Posted by LinuxSecurity.com Team   
Mandrake When used with some PAM modules in non-default configurations (ie. using pam_limits), it would overwrite the buffer and cause the user to get the credentials of another user.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

________________________________________________________________________

                Mandrake Linux Security Update Advisory
________________________________________________________________________

Package name:           util-linux
Date:                   November 1st, 2001
Advisory ID:            MDKSA-2001:084

Affected versions:      8.0, 8.1
________________________________________________________________________

Problem Description:

 Tarhon-Onu Victor found a problem in /bin/login's PAM implementation. 
 It stored the value of a static pwent buffer across PAM calls, and when
 used with some PAM modules in non-default configurations (ie. using
 pam_limits), it would overwrite the buffer and cause the user to get
 the credentials of another user.  Thanks to Olaf Kirch for providing
 the patch to fix the problem.
________________________________________________________________________

References:

________________________________________________________________________

Please verify the update prior to upgrading to ensure the integrity of
the downloaded package.  You can do this with the command:
  rpm --checksig package.rpm
You can get the GPG public key of the Mandrake Linux Security Team at
   http://www.linux-mandrake.com/en/security/RPM-GPG-KEYS
If you use MandrakeUpdate, the verification of md5 checksum and GPG
signature is performed automatically for you.

Mandrake Linux 8.0:
4ddcd252a9d5b8e683a1b305e904cad4  8.0/RPMS/util-linux-2.10s-3.1mdk.i586.rpm
9f6e4e89aaf34996980e74f3ebbe5014  8.0/SRPMS/util-linux-2.10s-3.1mdk.src.rpm

Mandrake Linux 8.0 (PPC):
989d97eb47495d2dccd00c8b1d177610  ppc/8.0/RPMS/util-linux-2.11h-3.2mdk.ppc.rpm
7c24f46f6380c192f3b6ae3438e476d0  ppc/8.0/SRPMS/util-linux-2.11h-3.2mdk.src.rpm

Mandrake Linux 8.1:
eed8a58dafde65f693ef09c6b638d119  8.1/RPMS/util-linux-2.11h-3.1mdk.i586.rpm
41fc1d59c255aa1c96845c683c780399  8.1/SRPMS/util-linux-2.11h-3.1mdk.src.rpm
________________________________________________________________________

Bug IDs fixed (see https://qa.mandrakesoft.com for more information):

________________________________________________________________________

To upgrade automatically, use MandrakeUpdate.

If you want to upgrade manually, download the updated package from one
of our FTP server mirrors and upgrade with "rpm -Fvh *.rpm".

You can download the updates directly from one of the mirror sites
listed at:

   http://www.linux-mandrake.com/en/ftp.php3.

Updated packages are available in the "updates/[ver]/RPMS/" directory.
For example, if you are looking for an updated RPM package for
Mandrake Linux 8.0, look for it in "updates/8.0/RPMS/".  Updated source
RPMs are available as well, but you generally do not need to download
them.

Please be aware that sometimes it takes the mirrors a few hours to
update.

You can view other security advisories for Mandrake Linux at:

   http://www.linux-mandrake.com/en/security/

If you want to report vulnerabilities, please contact

  security@linux-mandrake.com
________________________________________________________________________

Mandrake Linux has two security-related mailing list services that
anyone can subscribe to:

security-announce@linux-mandrake.com

  Mandrake Linux's security announcements mailing list.  Only
  announcements are sent to this list and it is read-only.

security-discuss@linux-mandrake.com

  Mandrake Linux's security discussion mailing list.  This list is open
  to anyone to discuss Mandrake Linux security specifically and Linux
  security in general.

To subscribe to either list, send a message to
  sympa@linux-mandrake.com
with "subscribe [listname]" in the body of the message.

To remove yourself from either list, send a message to
  sympa@linux-mandrake.com
with "unsubscribe [listname]" in the body of the message.

To get more information on either list, send a message to
  sympa@linux-mandrake.com
with "info [listname]" in the body of the message.

Optionally, you can use the web interface to subscribe to or unsubscribe
from either list:

   http://www.linux-mandrake.com/en/flists.php3#security
________________________________________________________________________

Type Bits/KeyID     Date       User ID
pub  1024D/22458A98 2000-07-10 Linux Mandrake Security Team
  <security@linux-mandrake.com>


- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see  http://www.gnupg.org

mQGiBDlp594RBAC2tDozI3ZgQsE7XwxurJCJrX0L5vx7SDByR5GHDdWekGhdiday
L4nfUax+SeR9SCoCgTgPW1xB8vtQc8/sinJlMjp9197a2iKM0FOcPlkpa3HcOdt7
WKJqQhlMrHvRcsivzcgqjH44GBBJIT6sygUF8k0lU6YnMHj5MPc/NGWt8wCg9vKo
P0l5QVAFSsHtqcU9W8cc7wMEAJzQ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Tcl
3TpkTfzYky85tu433wmKaLFOv0WjBFSikohGBBgRAgAGBQI5aefvAAoJEJqo0NAi
RYqYid0AoJgeWzXrEdIClBOSW5Q6FzqJJyaqAKC0Y9YI3UFlE4zSIGjcFlLJEJGX
lA==
=0ahQ
- -----END PGP PUBLIC KEY BLOCK-----

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see  http://www.gnupg.org

iD8DBQE74byqmqjQ0CJFipgRAk/gAKDp+ZrabGlpaus2HeWZFKiPaTBVEwCePDY8
oTHl+xUxeH1zzvzLROJYnmo=
=whOx
-----END PGP SIGNATURE-----