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

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

                               ESB-2010.1051
                       Moderate: pam security update
                             17 November 2010

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

        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
                   Access Privileged Data -- Existing Account
                   Read-only Data Access  -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2010-3853 CVE-2010-3435 CVE-2010-3316

Reference:         ESB-2010.0996

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2010-0891.html

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

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

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

Synopsis:          Moderate: pam security update
Advisory ID:       RHSA-2010:0891-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2010-0891.html
Issue date:        2010-11-16
CVE Names:         CVE-2010-3316 CVE-2010-3435 CVE-2010-3853 
=====================================================================

1. Summary:

Updated pam packages that fix three security issues 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 that handle authentication.

It was discovered that the pam_namespace module executed the external
script namespace.init with an unchanged environment inherited from an
application calling PAM. In cases where such an environment was untrusted
(for example, when pam_namespace was configured for setuid applications
such as su or sudo), a local, unprivileged user could possibly use this
flaw to escalate their privileges. (CVE-2010-3853)

It was discovered that the pam_env and pam_mail modules used root
privileges while accessing user's files. A local, unprivileged user could
use this flaw to obtain information, from the lines that have the KEY=VALUE
format expected by pam_env, from an arbitrary file. Also, in certain
configurations, a local, unprivileged user using a service for which the
pam_mail module was configured for, could use this flaw to obtain limited
information about files or directories that they do not have access to.
(CVE-2010-3435)

Note: As part of the fix for CVE-2010-3435, this update changes the default
value of pam_env's configuration option user_readenv to 0, causing the
module to not read user's ~/.pam_environment configuration file by default,
as reading it may introduce unexpected changes to the environment of the
service using PAM, or PAM modules consulted after pam_env.

It was discovered that the pam_xauth module did not verify the return
values of the setuid() and setgid() system calls. A local, unprivileged
user could use this flaw to execute the xauth command with root privileges
and make it read an arbitrary input file. (CVE-2010-3316)

Red Hat would like to thank Sebastian Krahmer of the SuSE Security Team for
reporting the CVE-2010-3435 issue.

All pam users should upgrade to these updated packages, which contain
backported patches to correct these issues.

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
http://kbase.redhat.com/faq/docs/DOC-11259

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

637898 - CVE-2010-3316 pam: pam_xauth missing return value checks from setuid() and similar calls
641335 - CVE-2010-3435 pam: pam_env and pam_mail accessing users' file with root privileges
643043 - CVE-2010-3853 pam: pam_namespace executes namespace.init with service's environment

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-4.el6_0.1.src.rpm

i386:
pam-1.1.1-4.el6_0.1.i686.rpm
pam-debuginfo-1.1.1-4.el6_0.1.i686.rpm

x86_64:
pam-1.1.1-4.el6_0.1.i686.rpm
pam-1.1.1-4.el6_0.1.x86_64.rpm
pam-debuginfo-1.1.1-4.el6_0.1.i686.rpm
pam-debuginfo-1.1.1-4.el6_0.1.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-4.el6_0.1.src.rpm

i386:
pam-debuginfo-1.1.1-4.el6_0.1.i686.rpm
pam-devel-1.1.1-4.el6_0.1.i686.rpm

x86_64:
pam-debuginfo-1.1.1-4.el6_0.1.i686.rpm
pam-debuginfo-1.1.1-4.el6_0.1.x86_64.rpm
pam-devel-1.1.1-4.el6_0.1.i686.rpm
pam-devel-1.1.1-4.el6_0.1.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-4.el6_0.1.src.rpm

x86_64:
pam-1.1.1-4.el6_0.1.i686.rpm
pam-1.1.1-4.el6_0.1.x86_64.rpm
pam-debuginfo-1.1.1-4.el6_0.1.i686.rpm
pam-debuginfo-1.1.1-4.el6_0.1.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-4.el6_0.1.src.rpm

x86_64:
pam-debuginfo-1.1.1-4.el6_0.1.i686.rpm
pam-debuginfo-1.1.1-4.el6_0.1.x86_64.rpm
pam-devel-1.1.1-4.el6_0.1.i686.rpm
pam-devel-1.1.1-4.el6_0.1.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-4.el6_0.1.src.rpm

i386:
pam-1.1.1-4.el6_0.1.i686.rpm
pam-debuginfo-1.1.1-4.el6_0.1.i686.rpm
pam-devel-1.1.1-4.el6_0.1.i686.rpm

ppc64:
pam-1.1.1-4.el6_0.1.ppc.rpm
pam-1.1.1-4.el6_0.1.ppc64.rpm
pam-debuginfo-1.1.1-4.el6_0.1.ppc.rpm
pam-debuginfo-1.1.1-4.el6_0.1.ppc64.rpm
pam-devel-1.1.1-4.el6_0.1.ppc.rpm
pam-devel-1.1.1-4.el6_0.1.ppc64.rpm

s390x:
pam-1.1.1-4.el6_0.1.s390.rpm
pam-1.1.1-4.el6_0.1.s390x.rpm
pam-debuginfo-1.1.1-4.el6_0.1.s390.rpm
pam-debuginfo-1.1.1-4.el6_0.1.s390x.rpm
pam-devel-1.1.1-4.el6_0.1.s390.rpm
pam-devel-1.1.1-4.el6_0.1.s390x.rpm

x86_64:
pam-1.1.1-4.el6_0.1.i686.rpm
pam-1.1.1-4.el6_0.1.x86_64.rpm
pam-debuginfo-1.1.1-4.el6_0.1.i686.rpm
pam-debuginfo-1.1.1-4.el6_0.1.x86_64.rpm
pam-devel-1.1.1-4.el6_0.1.i686.rpm
pam-devel-1.1.1-4.el6_0.1.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-4.el6_0.1.src.rpm

i386:
pam-1.1.1-4.el6_0.1.i686.rpm
pam-debuginfo-1.1.1-4.el6_0.1.i686.rpm
pam-devel-1.1.1-4.el6_0.1.i686.rpm

x86_64:
pam-1.1.1-4.el6_0.1.i686.rpm
pam-1.1.1-4.el6_0.1.x86_64.rpm
pam-debuginfo-1.1.1-4.el6_0.1.i686.rpm
pam-debuginfo-1.1.1-4.el6_0.1.x86_64.rpm
pam-devel-1.1.1-4.el6_0.1.i686.rpm
pam-devel-1.1.1-4.el6_0.1.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://www.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2010-3316.html
https://www.redhat.com/security/data/cve/CVE-2010-3435.html
https://www.redhat.com/security/data/cve/CVE-2010-3853.html
http://www.redhat.com/security/updates/classification/#moderate

8. Contact:

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

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

iD8DBQFM4sn5XlSAg2UNWIIRAuB5AJ9gtuG2ADentMBkpczlTA5YkRDunACdF62K
kp2lIAPhH4sSN0LC7ZfJxHI=
=eM9w
- -----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

iD8DBQFM41FF/iFOrG6YcBERAlVjAKCdOKiihWnWPNMbKFcuGBQ+hCBAxwCgwHlS
XjWLaRwZXK+fRansA9WuNbE=
=E7hC
-----END PGP SIGNATURE-----