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

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

                     ESB-2001.100 -- RHSA-2001:024-03
    Updated joe packages are available for Red Hat Linux 5.2, 6.x and 7
                               6 March 2001

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

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

Product:                joe
Vendor:                 Red Hat
Operating System:       Red Hat Linux 5.2
                        Red Hat Linux 6.x
                        Red Hat Linux 7
Impact:                 Increased Privileges

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

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

Synopsis:          Updated joe packages are available for Red Hat Linux 5.2, 6.x and 7.
Advisory ID:       RHSA-2001:024-03
Issue date:        2001-02-28
Updated on:        2001-03-02
Product:           Red Hat Linux
Keywords:          joe joerc cwd DEADJOE symlink vulnerability
Cross references:  
Obsoletes:         RHSA-2000:110
- ---------------------------------------------------------------------

1. Topic:

Updated joe packages are available for Red Hat Linux 5.2, 6.x and 7.

2. Relevant releases/architectures:

Red Hat Linux 5.2 - alpha, i386, sparc

Red Hat Linux 6.2 - alpha, i386, sparc

Red Hat Linux 7.0 - alpha, i386

3. Problem description:

When starting, joe looks for a configuration file in the current working
directory, the user's home directory, and /etc/joe.

A malicious user could create a .joerc file in a world writable directory
such as /tmp and make users running joe inside that directory using a
.joerc file that is customized to execute commands with their own userids.

The current working directory has been removed from the list of possible
directories with the .joerc configuration file.

4. Solution:

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 directly *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. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):

30031 - joe tries to use ./.joerc

6. RPMs required:

Red Hat Linux 5.2:

SRPMS:
ftp://updates.redhat.com/5.2/SRPMS/joe-2.8-43.52.src.rpm

alpha:
ftp://updates.redhat.com/5.2/alpha/joe-2.8-43.52.alpha.rpm

i386:
ftp://updates.redhat.com/5.2/i386/joe-2.8-43.52.i386.rpm

sparc:
ftp://updates.redhat.com/5.2/sparc/joe-2.8-43.52.sparc.rpm

Red Hat Linux 6.2:

SRPMS:
ftp://updates.redhat.com/6.2/SRPMS/joe-2.8-43.62.src.rpm

alpha:
ftp://updates.redhat.com/6.2/alpha/joe-2.8-43.62.alpha.rpm

i386:
ftp://updates.redhat.com/6.2/i386/joe-2.8-43.62.i386.rpm

sparc:
ftp://updates.redhat.com/6.2/sparc/joe-2.8-43.62.sparc.rpm

Red Hat Linux 7.0:

SRPMS:
ftp://updates.redhat.com/7.0/SRPMS/joe-2.8-43.7.src.rpm

alpha:
ftp://updates.redhat.com/7.0/alpha/joe-2.8-43.7.alpha.rpm

i386:
ftp://updates.redhat.com/7.0/i386/joe-2.8-43.7.i386.rpm



7. Verification:

MD5 sum                           Package Name
- --------------------------------------------------------------------------
95488606ed844778f2a521ad0325f507  5.2/SRPMS/joe-2.8-43.52.src.rpm
2dc3a1c635eded9cbb6fc16dab977606  5.2/alpha/joe-2.8-43.52.alpha.rpm
ea707c3f5c2fd31673b44865ac589288  5.2/i386/joe-2.8-43.52.i386.rpm
5bd049373c8fd6441294d29c1b39d86d  5.2/sparc/joe-2.8-43.52.sparc.rpm
592fd7aa75424a973b6ee9616f64795b  6.2/SRPMS/joe-2.8-43.62.src.rpm
0f024c104d66746002dd9901e90232cc  6.2/alpha/joe-2.8-43.62.alpha.rpm
4a267a16e25cf49bffaa5e2a8d14060c  6.2/i386/joe-2.8-43.62.i386.rpm
c75027b88a9d2c36064c3ae57e914887  6.2/sparc/joe-2.8-43.62.sparc.rpm
457e77acf9ca708332cb761dfe476f64  7.0/SRPMS/joe-2.8-43.7.src.rpm
54314afa4b55889eb86413119379e29b  7.0/alpha/joe-2.8-43.7.alpha.rpm
86c53275430df95d2674b2805c960f5c  7.0/i386/joe-2.8-43.7.i386.rpm

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

You can verify each package with the following command:
    rpm --checksig  <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:
    rpm --checksig --nogpg <filename>

8. References:

WSIR-01/02-02

Copyright(c) 2000, 2001 Red Hat, Inc.

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

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 original authors 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/Information/advisories.html

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

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key

iQCVAwUBOqTAyyh9+71yA2DNAQEQcwP+J8uWOgH0/9EWA8Ld177F8JMEeRezrypp
bnrfPj+lgV9Ubc3ao1Pea5r9TU9bZ8IwCX1+ttih92FqCELf7+faDoEV9sotzLn7
OP6l4e/L6E9cJdWfyZ/dcA//jMeQeNnxSE5OCcyD17WXsD4c15FMNS6ar3MT1RIb
arGxORSe+K4=
=McYO
-----END PGP SIGNATURE-----