LinuxSecurity.com
Share your story
The central voice for Linux and Open Source security news
Home News Topics Advisories HOWTOs Features Newsletters About Register

Welcome!
Sign up!
EnGarde Community
Login
Polls
What is the most important Linux security technology?
 
Advisories
Community
Linux Events
Linux User Groups
Link to Us
Security Center
Book Reviews
Security Dictionary
Security Tips
SELinux
White Papers
Featured Blogs
All About Linux
DanWalsh LiveJournal
Securitydistro
Latest Newsletters
Linux Advisory Watch: October 24th, 2014
Linux Security Week: October 20th, 2014
Subscribe
LinuxSecurity Newsletters
E-mail:
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

  
Red Hat: 'joe' vulnerability Print E-mail
User Rating:      How can I rate this item?
Posted by LinuxSecurity.com Team   
RedHat Linux When starting, joe looks for a configuration file in the current working directory, the user's home directory, and /etc/joe. A malicious user can use a symlink attack by putting a file in the cwd if it is world writable.

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

where  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.Red Hat.com/bugzilla for more info):

30031 - joe tries to use ./.joerc

6. RPMs required:

Red Hat Linux 5.2:

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

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

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

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

Red Hat Linux 6.2:

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

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

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

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

Red Hat Linux 7.0:

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

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

i386: 
ftp://updates.Red Hat.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.Red Hat.com/corp/contact.html

You can verify each package with the following command:
    rpm --checksig  

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 

8. References:

WSIR-01/02-02


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


 
< Prev   Next >
    
Partner

 

Latest Features
Peter Smith Releases Linux Network Security Online
Securing a Linux Web Server
Password guessing with Medusa 2.0
Password guessing as an attack vector
Squid and Digest Authentication
Squid and Basic Authentication
Demystifying the Chinese Hacking Industry: Earning 6 Million a Night
Free Online security course (LearnSIA) - A Call for Help
What You Need to Know About Linux Rootkits
Review: A Practical Guide to Fedora and Red Hat Enterprise Linux - Fifth Edition
Yesterday's Edition
Disaster as CryptoWall encrypts US firm's entire server installation
Now Everyone Wants to Sell You a Magical Anonymity Router. Choose Wisely
Partner Sponsor

Community | HOWTOs | Blogs | Features | Book Reviews | Networking
 Security Projects |  Latest News |  Newsletters |  SELinux |  Privacy |  Home
 Hardening |   About Us |   Advertise |   Legal Notice |   RSS |   Guardian Digital
(c)Copyright 2014 Guardian Digital, Inc. All rights reserved.