Skip to navigation

Security Advisory rsh security update

Advisory: RHSA-2005:165-03
Type: Security Advisory
Severity: Low
Issued on: 2005-06-08
Last updated on: 2005-06-08
Affected Products: Red Hat Desktop (v. 4)
Red Hat Enterprise Linux AS (v. 4)
Red Hat Enterprise Linux ES (v. 4)
Red Hat Enterprise Linux WS (v. 4)
CVEs (cve.mitre.org): CVE-2004-0175

Details

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

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

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


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

Updated packages

Red Hat Desktop (v. 4)

IA-32:
rsh-0.17-25.3.i386.rpm
File outdated by:  RHBA-2010:0425
    MD5: e0b1f41ff4027f07e56c6c3a815beac5
rsh-server-0.17-25.3.i386.rpm
File outdated by:  RHBA-2010:0425
    MD5: 119de22692c472215c0bd5abd4ad437a
 
x86_64:
rsh-0.17-25.3.x86_64.rpm
File outdated by:  RHBA-2010:0425
    MD5: fdb219bb4f76ef3add60d5dda6e583d4
rsh-server-0.17-25.3.x86_64.rpm
File outdated by:  RHBA-2010:0425
    MD5: ae5b1069589042712574a22b67a4d888
 
Red Hat Enterprise Linux AS (v. 4)

IA-32:
rsh-0.17-25.3.i386.rpm
File outdated by:  RHBA-2010:0425
    MD5: e0b1f41ff4027f07e56c6c3a815beac5
rsh-server-0.17-25.3.i386.rpm
File outdated by:  RHBA-2010:0425
    MD5: 119de22692c472215c0bd5abd4ad437a
 
IA-64:
rsh-0.17-25.3.ia64.rpm
File outdated by:  RHBA-2010:0425
    MD5: 85191a2e9573743b281dd62446bf4dcc
rsh-server-0.17-25.3.ia64.rpm
File outdated by:  RHBA-2010:0425
    MD5: 44f1d4d7955056579b16a1f29b93652c
 
PPC:
rsh-0.17-25.3.ppc.rpm
File outdated by:  RHBA-2010:0425
    MD5: 6f70af890d4f627898554f46e9b642e9
rsh-server-0.17-25.3.ppc.rpm
File outdated by:  RHBA-2010:0425
    MD5: c079a7a6384240c8d9f08e9bdbdd6311
 
s390:
rsh-0.17-25.3.s390.rpm
File outdated by:  RHBA-2010:0425
    MD5: 8c6ce8d07095d070a0b8caa7eaecb418
rsh-server-0.17-25.3.s390.rpm
File outdated by:  RHBA-2010:0425
    MD5: df47c3a52b2fb41a9bfc34b603078c21
 
s390x:
rsh-0.17-25.3.s390x.rpm
File outdated by:  RHBA-2010:0425
    MD5: b409a5341be41047d537d61e49066895
rsh-server-0.17-25.3.s390x.rpm
File outdated by:  RHBA-2010:0425
    MD5: af94e8b18e8e3c2c4f7d116ac0ff27cc
 
x86_64:
rsh-0.17-25.3.x86_64.rpm
File outdated by:  RHBA-2010:0425
    MD5: fdb219bb4f76ef3add60d5dda6e583d4
rsh-server-0.17-25.3.x86_64.rpm
File outdated by:  RHBA-2010:0425
    MD5: ae5b1069589042712574a22b67a4d888
 
Red Hat Enterprise Linux ES (v. 4)

IA-32:
rsh-0.17-25.3.i386.rpm
File outdated by:  RHBA-2010:0425
    MD5: e0b1f41ff4027f07e56c6c3a815beac5
rsh-server-0.17-25.3.i386.rpm
File outdated by:  RHBA-2010:0425
    MD5: 119de22692c472215c0bd5abd4ad437a
 
IA-64:
rsh-0.17-25.3.ia64.rpm
File outdated by:  RHBA-2010:0425
    MD5: 85191a2e9573743b281dd62446bf4dcc
rsh-server-0.17-25.3.ia64.rpm
File outdated by:  RHBA-2010:0425
    MD5: 44f1d4d7955056579b16a1f29b93652c
 
x86_64:
rsh-0.17-25.3.x86_64.rpm
File outdated by:  RHBA-2010:0425
    MD5: fdb219bb4f76ef3add60d5dda6e583d4
rsh-server-0.17-25.3.x86_64.rpm
File outdated by:  RHBA-2010:0425
    MD5: ae5b1069589042712574a22b67a4d888
 
Red Hat Enterprise Linux WS (v. 4)

IA-32:
rsh-0.17-25.3.i386.rpm
File outdated by:  RHBA-2010:0425
    MD5: e0b1f41ff4027f07e56c6c3a815beac5
rsh-server-0.17-25.3.i386.rpm
File outdated by:  RHBA-2010:0425
    MD5: 119de22692c472215c0bd5abd4ad437a
 
IA-64:
rsh-0.17-25.3.ia64.rpm
File outdated by:  RHBA-2010:0425
    MD5: 85191a2e9573743b281dd62446bf4dcc
rsh-server-0.17-25.3.ia64.rpm
File outdated by:  RHBA-2010:0425
    MD5: 44f1d4d7955056579b16a1f29b93652c
 
x86_64:
rsh-0.17-25.3.x86_64.rpm
File outdated by:  RHBA-2010:0425
    MD5: fdb219bb4f76ef3add60d5dda6e583d4
rsh-server-0.17-25.3.x86_64.rpm
File outdated by:  RHBA-2010:0425
    MD5: ae5b1069589042712574a22b67a4d888
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

146978 - RHEL4: rexecd does not set limits on /etc/security/limits
146979 - RHEL4: rcp gives incorrect error report when file system writes fai


References


Keywords

rcp, rsh-server


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

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