Operating System:

[RedHat]

Published:

22 February 2013

Protect yourself against future threats.

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

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2013.0261
          Moderate: pam security, bug fix, and enhancement update
                             22 February 2013

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           pam
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 6
                   Red Hat Enterprise Linux WS/Desktop 6
Impact/Access:     Increased Privileges -- Existing Account
                   Denial of Service    -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2011-3149 CVE-2011-3148 

Reference:         ESB-2011.1114
                   ESB-2011.1067

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2013-0521.html

- --------------------------BEGIN INCLUDED TEXT--------------------

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

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: pam security, bug fix, and enhancement update
Advisory ID:       RHSA-2013:0521-02
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2013-0521.html
Issue date:        2013-02-21
CVE Names:         CVE-2011-3148 CVE-2011-3149 
=====================================================================

1. Summary:

Updated pam packages that fix two security issues, several bugs, and add
various enhancements are now available for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having moderate
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64
Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64
Red Hat Enterprise Linux HPC Node (v. 6) - x86_64
Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64
Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64

3. Description:

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

A stack-based buffer overflow flaw was found in the way the pam_env module
parsed users' "~/.pam_environment" files. If an application's PAM
configuration contained "user_readenv=1" (this is not the default), a
local attacker could use this flaw to crash the application or, possibly,
escalate their privileges. (CVE-2011-3148)

A denial of service flaw was found in the way the pam_env module expanded
certain environment variables. If an application's PAM configuration
contained "user_readenv=1" (this is not the default), a local attacker
could use this flaw to cause the application to enter an infinite loop.
(CVE-2011-3149)

Red Hat would like to thank Kees Cook of the Google ChromeOS Team for
reporting the CVE-2011-3148 and CVE-2011-3149 issues.

These updated pam packages include numerous bug fixes and enhancements.
Space precludes documenting all of these changes in this advisory. Users
are directed to the Red Hat Enterprise Linux 6.4 Technical Notes, linked
to in the References, for information on the most significant of these
changes.

All pam users are advised to upgrade to these updated packages, which
contain backported patches to correct these issues and add these
enhancements.

4. Solution:

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

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258

5. Bugs fixed (http://bugzilla.redhat.com/):

588893 - pam does not enforce password complexity restrictions on root
673398 - request for additional pam_cracklib checks
723297 - limits.conf should mention limits.d directory
746619 - CVE-2011-3148 pam (pam_env): Stack-based buffer overflow by parsing user's pam_environment file
746620 - CVE-2011-3149 pam (pam_env): Infinite loop by expanding certain arguments
750601 - pam_namespace cannot verify status of SELinux in MLS
811168 - fix pam_get_authtok_verify() to respect the authtok_type= option
811243 - pam_cracklib: difignore is no-op in the current package - needs man page update
815516 - pam remember can check wrong username if it is a substring of another username

6. Package List:

Red Hat Enterprise Linux Desktop (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/pam-1.1.1-13.el6.src.rpm

i386:
pam-1.1.1-13.el6.i686.rpm
pam-debuginfo-1.1.1-13.el6.i686.rpm

x86_64:
pam-1.1.1-13.el6.i686.rpm
pam-1.1.1-13.el6.x86_64.rpm
pam-debuginfo-1.1.1-13.el6.i686.rpm
pam-debuginfo-1.1.1-13.el6.x86_64.rpm

Red Hat Enterprise Linux Desktop Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/pam-1.1.1-13.el6.src.rpm

i386:
pam-debuginfo-1.1.1-13.el6.i686.rpm
pam-devel-1.1.1-13.el6.i686.rpm

x86_64:
pam-debuginfo-1.1.1-13.el6.i686.rpm
pam-debuginfo-1.1.1-13.el6.x86_64.rpm
pam-devel-1.1.1-13.el6.i686.rpm
pam-devel-1.1.1-13.el6.x86_64.rpm

Red Hat Enterprise Linux HPC Node (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/pam-1.1.1-13.el6.src.rpm

x86_64:
pam-1.1.1-13.el6.i686.rpm
pam-1.1.1-13.el6.x86_64.rpm
pam-debuginfo-1.1.1-13.el6.i686.rpm
pam-debuginfo-1.1.1-13.el6.x86_64.rpm

Red Hat Enterprise Linux HPC Node Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/pam-1.1.1-13.el6.src.rpm

x86_64:
pam-debuginfo-1.1.1-13.el6.i686.rpm
pam-debuginfo-1.1.1-13.el6.x86_64.rpm
pam-devel-1.1.1-13.el6.i686.rpm
pam-devel-1.1.1-13.el6.x86_64.rpm

Red Hat Enterprise Linux Server (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/pam-1.1.1-13.el6.src.rpm

i386:
pam-1.1.1-13.el6.i686.rpm
pam-debuginfo-1.1.1-13.el6.i686.rpm
pam-devel-1.1.1-13.el6.i686.rpm

ppc64:
pam-1.1.1-13.el6.ppc.rpm
pam-1.1.1-13.el6.ppc64.rpm
pam-debuginfo-1.1.1-13.el6.ppc.rpm
pam-debuginfo-1.1.1-13.el6.ppc64.rpm
pam-devel-1.1.1-13.el6.ppc.rpm
pam-devel-1.1.1-13.el6.ppc64.rpm

s390x:
pam-1.1.1-13.el6.s390.rpm
pam-1.1.1-13.el6.s390x.rpm
pam-debuginfo-1.1.1-13.el6.s390.rpm
pam-debuginfo-1.1.1-13.el6.s390x.rpm
pam-devel-1.1.1-13.el6.s390.rpm
pam-devel-1.1.1-13.el6.s390x.rpm

x86_64:
pam-1.1.1-13.el6.i686.rpm
pam-1.1.1-13.el6.x86_64.rpm
pam-debuginfo-1.1.1-13.el6.i686.rpm
pam-debuginfo-1.1.1-13.el6.x86_64.rpm
pam-devel-1.1.1-13.el6.i686.rpm
pam-devel-1.1.1-13.el6.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/pam-1.1.1-13.el6.src.rpm

i386:
pam-1.1.1-13.el6.i686.rpm
pam-debuginfo-1.1.1-13.el6.i686.rpm
pam-devel-1.1.1-13.el6.i686.rpm

x86_64:
pam-1.1.1-13.el6.i686.rpm
pam-1.1.1-13.el6.x86_64.rpm
pam-debuginfo-1.1.1-13.el6.i686.rpm
pam-debuginfo-1.1.1-13.el6.x86_64.rpm
pam-devel-1.1.1-13.el6.i686.rpm
pam-devel-1.1.1-13.el6.x86_64.rpm

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

7. References:

https://www.redhat.com/security/data/cve/CVE-2011-3148.html
https://www.redhat.com/security/data/cve/CVE-2011-3149.html
https://access.redhat.com/security/updates/classification/#moderate
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/6.4_Technical_Notes/pam.html

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2013 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFRJcOdXlSAg2UNWIIRAlkwAJ9EJGkxoj0PcQwQ5xZkoCDg5jPOpACgtH9g
utUfUaSiFJiz27JlJWe1gbg=
=B82c
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBUScFyu4yVqjM2NGpAQJZ7w//VKHjxxAqxCp0rVq9eIaOfjXfjlzthTl1
jqO+HXsu209zgdtbCWs8LgOxWoZ4iXvY+VSr2jJPVRPdT2V/JpJ80q0dFwtidx9l
jFll+9+R1giq5uRbEc1X/7Fbgjb9gTa/fLwnOYwmYOUMcJAu3qrg57eunvXFEV5z
V1xC2CsjLqTrl2DPFf0k8w4N6HXqBZp+lOhIp+4JWqwgKZ60xedZnYYwgC4r+VmV
r8dkXtmFb5Rxl1rcr4UZ9oDb4U3QyHvYIObpICJtnRa8lZ3LqiLrcHrSHALAG2zt
1y9KLyux7lOQwz4kjq3RCgcYaq9l4RhCbsWjjMnyHPnIXnqIYmsJu4ie9ZYMBFMo
XH3wWjVAuNixInCji/j4g0u8IFwE+bMs4acZOjBsS4SN4UDwdB60nqe6UzrRJE1X
7q/S8A5Ae01jvG4zevzCzSHNeDg7YH/kWdRpCN2Owlmpzt4UkCtt9sjzplfYut9R
oRJNgS7aWi413p9ySyJ82Wx2Y5ve3y8SQcKeo2M8RMsxkSvxBcG0+0Bvcr0iI2RX
A2JxQeeclM4XXjlpwsW61OUpkzoUA28UFvb7xBnIKnc2LqUcVIKfZrTYPQ2AbC1i
s6NmXTnnm146OrmG/PETQtef/1+GQscfppajHuSq4TSCJe4iCDgzX4ycsydK1bFl
sxsgSjQLx8I=
=S9UJ
-----END PGP SIGNATURE-----