Skip to navigation

Security Advisory Moderate: pam security, bug fix, and enhancement update

Advisory: RHSA-2007:0555-8
Type: Security Advisory
Severity: Moderate
Issued on: 2007-11-07
Last updated on: 2007-11-07
Affected Products: RHEL Desktop Workstation (v. 5 client)
Red Hat Enterprise Linux (v. 5 server)
Red Hat Enterprise Linux Desktop (v. 5 client)
CVEs (cve.mitre.org): CVE-2007-1716
CVE-2007-3102

Details

Updated pam packages that fix two security flaws, resolve several bugs, and
add enhancements are now available for Red Hat Enterprise Linux 5.

This update has been rated as having moderate security impact by the Red
Hat Security Response Team.

Pluggable Authentication Modules (PAM) provide a system whereby
administrators can set up authentication policies without having to
recompile programs that handle authentication.

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:

* truncated MD5-hashed passwords in "/etc/shadow" were treated as valid,
resulting in insecure and invalid passwords.

* the pam_namespace module did not convert context names to raw format and
did not unmount polyinstantiated directories in some cases. It also crashed
when an unknown user name was used in "/etc/security/namespace.conf", the
pam_namespace configuration file.

* the pam_selinux module was not relabeling the controlling tty correctly,
and in some cases it did not send complete information about user role and
level change to the audit subsystem.

These updated packages add the following enhancements:

* pam_limits module now supports parsing additional config files placed
into the /etc/security/limits.d/ directory. These files are read after the
main configuration file.

* the modules pam_limits, pam_access, and pam_time now send a message to
the audit subsystem when a user is denied access based on the number of
login sessions, origin of user, and time of login.

* pam_unix module security properties were improved. Functionality in the
setuid helper binary, unix_chkpwd, which was not required for user
authentication, was moved to a new non-setuid helper binary, unix_update.

All users of PAM should upgrade to these updated packages, which resolve
these issues and add these enhancements.


Solution

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188

Updated packages

RHEL Desktop Workstation (v. 5 client)

SRPMS:
pam-0.99.6.2-3.26.el5.src.rpm
File outdated by:  RHBA-2013:0032
    MD5: 8d551576c99cc43b6ec69d1372bb8d0d
 
IA-32:
pam-devel-0.99.6.2-3.26.el5.i386.rpm
File outdated by:  RHBA-2013:0032
    MD5: d622f4f24b1022924db60a27c510ac7c
 
x86_64:
pam-devel-0.99.6.2-3.26.el5.i386.rpm
File outdated by:  RHBA-2013:0032
    MD5: d622f4f24b1022924db60a27c510ac7c
pam-devel-0.99.6.2-3.26.el5.x86_64.rpm
File outdated by:  RHBA-2013:0032
    MD5: 4c244fb63c0f7404ebad4f9b2c8023d9
 
Red Hat Enterprise Linux (v. 5 server)

SRPMS:
pam-0.99.6.2-3.26.el5.src.rpm
File outdated by:  RHBA-2013:0032
    MD5: 8d551576c99cc43b6ec69d1372bb8d0d
 
IA-32:
pam-0.99.6.2-3.26.el5.i386.rpm
File outdated by:  RHBA-2013:0032
    MD5: 84d48c3be0870e9dbfe2dc27395de114
pam-devel-0.99.6.2-3.26.el5.i386.rpm
File outdated by:  RHBA-2013:0032
    MD5: d622f4f24b1022924db60a27c510ac7c
 
IA-64:
pam-0.99.6.2-3.26.el5.i386.rpm
File outdated by:  RHBA-2013:0032
    MD5: 84d48c3be0870e9dbfe2dc27395de114
pam-0.99.6.2-3.26.el5.ia64.rpm
File outdated by:  RHBA-2013:0032
    MD5: f1107cda14d5f5e06c34567f4c960ce9
pam-devel-0.99.6.2-3.26.el5.ia64.rpm
File outdated by:  RHBA-2013:0032
    MD5: 71b979597060947cc876725399b9f110
 
PPC:
pam-0.99.6.2-3.26.el5.ppc.rpm
File outdated by:  RHBA-2013:0032
    MD5: b8bdf7f7059ef8b82c48477373db3d9a
pam-0.99.6.2-3.26.el5.ppc64.rpm
File outdated by:  RHBA-2013:0032
    MD5: d513db5dc35eed0401410bf4bff2bd78
pam-devel-0.99.6.2-3.26.el5.ppc.rpm
File outdated by:  RHBA-2013:0032
    MD5: 83b06532e32e2e3f61e52b67af67e1df
pam-devel-0.99.6.2-3.26.el5.ppc64.rpm
File outdated by:  RHBA-2013:0032
    MD5: 19bc56166f397d5507ee63419c30c425
 
s390x:
pam-0.99.6.2-3.26.el5.s390.rpm
File outdated by:  RHBA-2013:0032
    MD5: c9a1ffc67c7eb25e418130f48962f20f
pam-0.99.6.2-3.26.el5.s390x.rpm
File outdated by:  RHBA-2013:0032
    MD5: b1208395f4bbe301a56fd0d1a263b0cd
pam-devel-0.99.6.2-3.26.el5.s390.rpm
File outdated by:  RHBA-2013:0032
    MD5: a63e62356e6ffd4a964212e4da6ec3e2
pam-devel-0.99.6.2-3.26.el5.s390x.rpm
File outdated by:  RHBA-2013:0032
    MD5: 9472719bcff3e5d4244da94b32443dbf
 
x86_64:
pam-0.99.6.2-3.26.el5.i386.rpm
File outdated by:  RHBA-2013:0032
    MD5: 84d48c3be0870e9dbfe2dc27395de114
pam-0.99.6.2-3.26.el5.x86_64.rpm
File outdated by:  RHBA-2013:0032
    MD5: 5372f04b4d5c7e311ccbc470b0ce296a
pam-devel-0.99.6.2-3.26.el5.i386.rpm
File outdated by:  RHBA-2013:0032
    MD5: d622f4f24b1022924db60a27c510ac7c
pam-devel-0.99.6.2-3.26.el5.x86_64.rpm
File outdated by:  RHBA-2013:0032
    MD5: 4c244fb63c0f7404ebad4f9b2c8023d9
 
Red Hat Enterprise Linux Desktop (v. 5 client)

SRPMS:
pam-0.99.6.2-3.26.el5.src.rpm
File outdated by:  RHBA-2013:0032
    MD5: 8d551576c99cc43b6ec69d1372bb8d0d
 
IA-32:
pam-0.99.6.2-3.26.el5.i386.rpm
File outdated by:  RHBA-2013:0032
    MD5: 84d48c3be0870e9dbfe2dc27395de114
 
x86_64:
pam-0.99.6.2-3.26.el5.i386.rpm
File outdated by:  RHBA-2013:0032
    MD5: 84d48c3be0870e9dbfe2dc27395de114
pam-0.99.6.2-3.26.el5.x86_64.rpm
File outdated by:  RHBA-2013:0032
    MD5: 5372f04b4d5c7e311ccbc470b0ce296a
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

227345 - pam_namespace should convert the context names before it uses them as filenames
230120 - LSPP: Not able to log into the machine with large number of categories
232993 - FIPS 200: audit rejection based on number of sessions, origin and time
233581 - CVE-2007-1716 Ownership of devices not returned to root after logout from console
234513 - [LSPP] pam_namespace crashes with non-existent users in namespace.conf
234781 - [LSPP] incorrect information in pam_selinux audit record
236316 - LSPP: Unable to change expired password on ssh login
237163 - namespace.conf: $HOME used in polyinstantiated directory name not being expanded
237249 - LSPP: polyinstantiation behavior correct and documented
243204 - CVE-2007-3102 audit logging of failed logins


References


Keywords

audit, device, limits, LSPP, namespace, ownership, polyinstantiation, SELinux, tty


These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/