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: July 18th, 2014
Linux Advisory Watch: July 13th, 2014
Subscribe
LinuxSecurity Newsletters
E-mail:
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

  
RedHat: Low: rsh security update Print E-mail
User Rating:      How can I rate this item?
Posted by Benjamin D. Thomas   
RedHat Linux Updated rsh packages that fix various bugs and a theoretical security issue are now available. This update has been rated as having low security impact by the Red Hat Security Response Team
- ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Low: rsh security update
Advisory ID:       RHSA-2005:074-01
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2005-074.html
Issue date:        2005-05-18
Updated on:        2005-05-18
Product:           Red Hat Enterprise Linux
CVE Names:         CAN-2004-0175
- ---------------------------------------------------------------------

1. Summary:

Updated rsh packages that fix various bugs and a theoretical security issue
are now available.

This update has been rated as having low security impact by the Red Hat
Security Response Team

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64

3. Problem description:

The rsh package contains a set of programs that allow users to run
commands on remote machines, login to other machines, and copy files
between machines, using the rsh, rlogin, and rcp commands. All three of
these commands use rhosts-style authentication.

The rcp protocol allows a server to instruct a client to write to arbitrary
files outside of the current directory.  This could potentially cause a
security issue if a user uses rcp to copy files from a malicious server. 
The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2004-0175 to this issue.

These updated packages also address the following bugs:

The rexec command failed with "Invalid Argument", because the code
used sigaction() as an unsupported signal.

The rlogind server reported "SIGCHLD set to SIG_IGN but calls wait()"
message to the system log because the original BSD code was ported
incorrectly to linux.

The rexecd server did not function on systems where client hostnames were
not in the DNS service, because server code called gethostbyaddr() for each
new connection.

The rcp command incorrectly used the "errno" variable and produced
erroneous error messages.

The rexecd command ignored settings in the /etc/security/limits file,
because the PAM session was incorrectly initialized.

The rexec command prompted for username and password regardless of the
~/.netrc configuration file contents. This updated package contains a patch
that no longer skips the ~/.netrc file. 

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

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.

If up2date fails to connect to Red Hat Network due to SSL
Certificate Errors, you need to install a version of the
up2date client with an updated certificate.  The latest version of
up2date is available from the Red Hat FTP site and may also be
downloaded directly from the RHN website:

https://rhn.redhat.com/help/latest-up2date.pxt

5. RPMs required:

Red Hat Enterprise Linux AS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/rsh-0.17-17.6.src.rpm
9db33654428c9f2a68ae4fc3d3538b45  rsh-0.17-17.6.src.rpm

i386:
d3c9d0998a481654e6aa70bae6d81284  rsh-0.17-17.6.i386.rpm
458e22f5bbb542402ff7f1d5b31d8efc  rsh-server-0.17-17.6.i386.rpm

ia64:
0ef714b4988d67746492c7fcc94c6505  rsh-0.17-17.6.ia64.rpm
c5ffc16936049d313396840c1340b190  rsh-server-0.17-17.6.ia64.rpm

ppc:
b95b84629007515d08ebdb9dbfc3ef2f  rsh-0.17-17.6.ppc.rpm
fb95ecdabcdf4a94d3438d86c66fa10c  rsh-server-0.17-17.6.ppc.rpm

s390:
3aeade4296a8fbef841988fa0931a627  rsh-0.17-17.6.s390.rpm
b974c6cfe31f0baa9863d543d4fbbc6c  rsh-server-0.17-17.6.s390.rpm

s390x:
40007c9ed95ad284c2d6863bff54a69c  rsh-0.17-17.6.s390x.rpm
63df1e561f4ccd2d0a088e3c419e1647  rsh-server-0.17-17.6.s390x.rpm

x86_64:
d5a8b840af161bf40970e8d51b5be791  rsh-0.17-17.6.x86_64.rpm
bc656e79fc3002249f5eb17d4993f67b  rsh-server-0.17-17.6.x86_64.rpm

Red Hat Desktop version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/rsh-0.17-17.6.src.rpm
9db33654428c9f2a68ae4fc3d3538b45  rsh-0.17-17.6.src.rpm

i386:
d3c9d0998a481654e6aa70bae6d81284  rsh-0.17-17.6.i386.rpm
458e22f5bbb542402ff7f1d5b31d8efc  rsh-server-0.17-17.6.i386.rpm

x86_64:
d5a8b840af161bf40970e8d51b5be791  rsh-0.17-17.6.x86_64.rpm
bc656e79fc3002249f5eb17d4993f67b  rsh-server-0.17-17.6.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/rsh-0.17-17.6.src.rpm
9db33654428c9f2a68ae4fc3d3538b45  rsh-0.17-17.6.src.rpm

i386:
d3c9d0998a481654e6aa70bae6d81284  rsh-0.17-17.6.i386.rpm
458e22f5bbb542402ff7f1d5b31d8efc  rsh-server-0.17-17.6.i386.rpm

ia64:
0ef714b4988d67746492c7fcc94c6505  rsh-0.17-17.6.ia64.rpm
c5ffc16936049d313396840c1340b190  rsh-server-0.17-17.6.ia64.rpm

x86_64:
d5a8b840af161bf40970e8d51b5be791  rsh-0.17-17.6.x86_64.rpm
bc656e79fc3002249f5eb17d4993f67b  rsh-server-0.17-17.6.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/rsh-0.17-17.6.src.rpm
9db33654428c9f2a68ae4fc3d3538b45  rsh-0.17-17.6.src.rpm

i386:
d3c9d0998a481654e6aa70bae6d81284  rsh-0.17-17.6.i386.rpm
458e22f5bbb542402ff7f1d5b31d8efc  rsh-server-0.17-17.6.i386.rpm

ia64:
0ef714b4988d67746492c7fcc94c6505  rsh-0.17-17.6.ia64.rpm
c5ffc16936049d313396840c1340b190  rsh-server-0.17-17.6.ia64.rpm

x86_64:
d5a8b840af161bf40970e8d51b5be791  rsh-0.17-17.6.x86_64.rpm
bc656e79fc3002249f5eb17d4993f67b  rsh-server-0.17-17.6.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

6. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0175

7. Contact:

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

Copyright 2005 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
Home router security holes to be exposed at Def Con 22 hacker meet up
Edward Snowden Calls on Hackers to Help Whistleblowers Leak More Secrets
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.