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

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

                     ESB-2004.0521 -- RHSA-2004:304-01
   Updated pam packages fix vulnerabilities in pam_wheel and pam_lastlog
                              19 August 2004

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

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

Product:                Linux-PAM (Pluggable Authentication Modules)
                        0.77 and prior
Publisher:              Red Hat
Operating System:       Red Hat Enterprise Linux AS/ES/WS 2.1
                        Red Hat Linux Advanced Workstation 2.1
                        Linux variants
Impact:                 Root Compromise
Access:                 Existing Account
CVE Names:              CAN-2003-0388

Comment: In the default configuration of Red Hat Enterprise Linux 2.1, the
         pam_wheel module is not used.

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

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

- - ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Updated pam packages
Advisory ID:       RHSA-2004:304-01
Issue date:        2004-08-18
Updated on:        2004-08-18
Product:           Red Hat Enterprise Linux
Keywords:          pam pam_wheel pam_lastlog
CVE Names:         CAN-2003-0388
- - ---------------------------------------------------------------------

1. Summary:

Updated pam packages that fix a security vulnerability are now available
for Red Hat Enterprise Linux 2.1.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64
Red Hat Linux Advanced Workstation 2.1 - ia64
Red Hat Enterprise Linux ES version 2.1 - i386
Red Hat Enterprise Linux WS version 2.1 - i386

3. Problem description:

PAM (Pluggable Authentication Modules) is a system security tool that
allows system administrators to set an authentication policy without
having to recompile programs that handle authentication.

These updates fix a potential security problem present in the
pam_wheel module.  These updates correct a bug in the pam_lastlog
module which prevented it from properly manipulating the /var/log/lastlog
entry for users with very high user IDs.

The pam_wheel module is used to restrict access to a particular service
based on group membership.  If the pam_wheel module was used with the
"trust" option enabled, but without the "use_uid" option, any local
user would be able to spoof the username returned by getlogin(). The user
could therefore gain access to a superuser account without supplying a
password.  In Red Hat Enterprise Linux 2.1, pam_wheel is not used by
default.  The Common Vulnerabilities and Exposures project (cve.mitre.org)
has assigned the name CAN-2003-0388 to this issue.

When manipulating the entry in /var/log/lastlog, which corresponds to a
given user, the pam_lastlog module calculates the location of the entry by
multiplying the UID and the length of an entry in the file.  On some
systems, the result of this calculation would mistakenly be truncated to 32
bits for users with sufficiently high UIDs.

All users of pam should upgrade to these updated packages, which
resolve these issues.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.  Use Red Hat
Network to download and update your packages.  To launch the Red Hat
Update Agent, use the following command:

    up2date

For information on how to install packages manually, refer to the
following Web page for the System Administration or Customization
guide specific to your system:

    http://www.redhat.com/docs/manuals/enterprise/


5. Bug IDs fixed (http://bugzilla.redhat.com/ for more info):

98826 - CAN-2003-0388 pam_wheel uses getlogin in insecure fashion

6. RPMs required:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/pam-0.75-46.9.src.rpm
5c78062a595e3443d22ca145b774cd34  pam-0.75-46.9.src.rpm

i386:
1a72acefcb8b2c7bfb875f9024ae818b  pam-0.75-46.9.i386.rpm
e129fb8519d309ab26d3045bd91bb2e3  pam-devel-0.75-46.9.i386.rpm

ia64:
851a5e5a7f78b4a4cbde060c62ab1e7d  pam-0.75-46.9.ia64.rpm
3b23b14f7cfbcf2a73d21fd3a0b18bda  pam-devel-0.75-46.9.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/pam-0.75-46.9.src.rpm
5c78062a595e3443d22ca145b774cd34  pam-0.75-46.9.src.rpm

ia64:
851a5e5a7f78b4a4cbde060c62ab1e7d  pam-0.75-46.9.ia64.rpm
3b23b14f7cfbcf2a73d21fd3a0b18bda  pam-devel-0.75-46.9.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/pam-0.75-46.9.src.rpm
5c78062a595e3443d22ca145b774cd34  pam-0.75-46.9.src.rpm

i386:
1a72acefcb8b2c7bfb875f9024ae818b  pam-0.75-46.9.i386.rpm
e129fb8519d309ab26d3045bd91bb2e3  pam-devel-0.75-46.9.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/pam-0.75-46.9.src.rpm
5c78062a595e3443d22ca145b774cd34  pam-0.75-46.9.src.rpm

i386:
1a72acefcb8b2c7bfb875f9024ae818b  pam-0.75-46.9.i386.rpm
e129fb8519d309ab26d3045bd91bb2e3  pam-devel-0.75-46.9.i386.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.html#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0388

8. Contact:

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

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

iD8DBQFBI3b5XlSAg2UNWIIRAgqDAJ0ZiQBQrEnBQmVbGYccs+GoNSJHrACggz20
K4KiRT8dwdkOwsMQ4U6Nen8=
=G3lR
- -----END PGP SIGNATURE-----


- -- 
Enterprise-watch-list mailing list
Enterprise-watch-list@redhat.com
https://www.redhat.com/mailman/listinfo/enterprise-watch-list

- --------------------------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

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
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

iQCVAwUBQSQDFih9+71yA2DNAQLRfgP/TRIdVUw1g91wxxoXqito2/wk4JMGytCg
9eJzyX7FP7gEsl+iczQpDBLXVvdAp7rEkLbJ6GhD32tdxatnnpbPy07ZgOfWy69d
Lud0je8CG3AIwAGsIoiNBeDTfT7ZmRz8HFetHBut0zS0U5Ocqmw6s64PhDrSkLgh
puFo74Lslb4=
=qB0u
-----END PGP SIGNATURE-----