Scientific Linux Security Update : pam on SL4.x i386/x86_64

This script is Copyright (C) 2012 Tenable Network Security, Inc.


Synopsis :

The remote Scientific Linux host is missing one or more security
updates.

Description :

A flaw was found in the way pam_console set console device
permissions. It was possible for various console devices to retain
ownership of the console user after logging out, possibly leaking
information to another local user. (CVE-2007-1716)

A flaw was found in the way the PAM library wrote account names to the
audit subsystem. An attacker could inject strings containing parts of
audit messages, which could possibly mislead or confuse audit log
parsing tools. (CVE-2007-3102)

As well, these updated packages fix the following bugs :

- the pam_xauth module, which is used for copying the X11
authentication cookie, did not reset the 'XAUTHORITY'
variable in certain circumstances, causing unnecessary
delays when using su command.

- when calculating password similarity, pam_cracklib
disregarded changes to the last character in passwords
when 'difok=x' (where 'x' is the number of characters
required to change) was configured in
'/etc/pam.d/system-auth'. This resulted in password
changes that should have been successful to fail with
the following error :

BAD PASSWORD: is too similar to the old one

This issue has been resolved in these updated packages.

- the pam_limits module, which provides setting up system
resources limits for user sessions, reset the nice
priority of the user session to '0' if it was not
configured otherwise in the '/etc/security/limits.conf'
configuration file.

These updated packages add the following enhancement :

- a new PAM module, pam_tally2, which allows accounts to
be locked after a maximum number of failed log in
attempts.

See also :

http://www.nessus.org/u?752cad11

Solution :

Update the affected pam and / or pam-devel packages.

Risk factor :

Medium / CVSS Base Score : 4.3
(CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N)

Family: Scientific Linux Local Security Checks

Nessus Plugin ID: 60308 ()

Bugtraq ID:

CVE ID: CVE-2007-1716
CVE-2007-3102