-----BEGIN PGP SIGNED MESSAGE-----

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

                     ESB-2003.0090 -- RHSA-2003:015-05
  Updated fileutils package fixes race condition in recursive operations
                             14 February 2003

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

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

Product:                fileutils
Vendor:                 Red Hat
Operating System:       Red Hat Linux 6.2
                        Red Hat Linux 7.0
                        Red Hat Linux 7.1
                        Red Hat Linux 7.2
                        Red Hat Linux 7.3
                        Linux
Platform:               i386
                        IA-64
Impact:                 Delete Arbitrary Files
Access Required:        Existing Account

Comment: CVE Id: CAN-2002-0435

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

- ---------------------------------------------------------------------
                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated fileutils package fixes race condition in recursive operations
Advisory ID:       RHSA-2003:015-05
Issue date:        2003-01-21
Updated on:        2003-02-12
Product:           Red Hat Linux
Keywords:          rm move gnu mv remove
Cross references:  
Obsoletes:         
CVE Names:         CAN-2002-0435
- ---------------------------------------------------------------------

1. Topic:

New fileutils packages for Red Hat Linux 6.2, 7.0, 7.1, 7.2 and 7.3 fix a
race condition in recursive remove and move commands.

2. Relevant releases/architectures:

Red Hat Linux 6.2 - i386
Red Hat Linux 7.0 - i386
Red Hat Linux 7.1 - i386
Red Hat Linux 7.2 - i386, ia64
Red Hat Linux 7.3 - i386

3. Problem description:

The fileutils package includes a number of GNU versions of common and
popular file management utilities.

A race condition in the recursive use of 'rm' and 'mv' in fileutils 4.1 and
earlier could allow local users to delete files and directories (as the user
running fileutils) if the user has write access to part of the tree being
moved or deleted.

Red Hat Linux versions 6.2, 7, 7.1, 7.2, and 7.3 shipped with versions of
fileutils that are vulnerable to this issue.  This erratum provides new
fileutils packages that contain a patch correcting this issue.

4. Solution:

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

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which are
not installed but included in the list will not be updated.  Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.

Please note that this update is also available via Red Hat Network.  Many
people find this an easier way to apply updates.  To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. RPMs required:

Red Hat Linux 6.2:

SRPMS:
ftp://updates.redhat.com/6.2/en/os/SRPMS/fileutils-4.0-21.1.src.rpm

i386:
ftp://updates.redhat.com/6.2/en/os/i386/fileutils-4.0-21.1.i386.rpm

Red Hat Linux 7.0:

SRPMS:
ftp://updates.redhat.com/7.0/en/os/SRPMS/fileutils-4.0x-3.1.src.rpm

i386:
ftp://updates.redhat.com/7.0/en/os/i386/fileutils-4.0x-3.1.i386.rpm

Red Hat Linux 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/fileutils-4.0.36-4.1.src.rpm

i386:
ftp://updates.redhat.com/7.1/en/os/i386/fileutils-4.0.36-4.1.i386.rpm

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/fileutils-4.1-10.1.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/fileutils-4.1-10.1.i386.rpm

ia64:
ftp://updates.redhat.com/7.2/en/os/ia64/fileutils-4.1-10.1.ia64.rpm

Red Hat Linux 7.3:

SRPMS:
ftp://updates.redhat.com/7.3/en/os/SRPMS/fileutils-4.1-10.1.src.rpm

i386:
ftp://updates.redhat.com/7.3/en/os/i386/fileutils-4.1-10.1.i386.rpm



6. Verification:

MD5 sum                          Package Name
- --------------------------------------------------------------------------
55639c22a29023720b9504fda5c8614e 6.2/en/os/SRPMS/fileutils-4.0-21.1.src.rpm
cacc930476d0338f406ecead3dcf952b 6.2/en/os/i386/fileutils-4.0-21.1.i386.rpm
7c7f227ab74bde72f3412107ba63ba62 7.0/en/os/SRPMS/fileutils-4.0x-3.1.src.rpm
37887ea82f67399490cf04f30727078f 7.0/en/os/i386/fileutils-4.0x-3.1.i386.rpm
fe03cd0ec3fc7a0cd6f22872704c4390 7.1/en/os/SRPMS/fileutils-4.0.36-4.1.src.rpm
24bcfd92b6298dc3510a4cbfdf812a96 7.1/en/os/i386/fileutils-4.0.36-4.1.i386.rpm
4357c82173c6ad064119cdf265f6162e 7.2/en/os/SRPMS/fileutils-4.1-10.1.src.rpm
d8a014f87a6aa623c36620ba96178698 7.2/en/os/i386/fileutils-4.1-10.1.i386.rpm
3c7c5fd690854ba5655717583883ddc5 7.2/en/os/ia64/fileutils-4.1-10.1.ia64.rpm
4357c82173c6ad064119cdf265f6162e 7.3/en/os/SRPMS/fileutils-4.1-10.1.src.rpm
d8a014f87a6aa623c36620ba96178698 7.3/en/os/i386/fileutils-4.1-10.1.i386.rpm


These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at http://www.redhat.com/about/contact/pgpkey.html

You can verify each package with the following command:
    
    rpm --checksig -v <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    
    md5sum <filename>


7. References:

http://online.securityfocus.com/archive/1/260936
http://mail.gnu.org/archive/html/bug-fileutils/2002-03/msg00028.html
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0435

8. Contact:

The Red Hat security contact is <security@redhat.com>.  More contact
details at http://www.redhat.com/solutions/security/news/contact.html

Copyright 2003 Red Hat, Inc.

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

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 use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

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 system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security
Teams).

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-----
Version: 2.6.3i
Charset: noconv
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBPk0k8Sh9+71yA2DNAQEtugP+IN0ehoNcaMlIwn9ZFfuMf5WI0Ha5YUXT
ofIQTAic+WFv8UNg3XMVCJVcrdizE0uZovzjQ1dA1kgf2/hjyjZZU5frs+WPRdq4
9NArHZwit0FjviyBTe7b2u8a4CpqSTbuZNzmRcPJ0ien+lnuTJxMu01myr0X1bJ1
stANwIdRkHc=
=ljPm
-----END PGP SIGNATURE-----