CentOS Errata and Security Advisory CESA-2005:074
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.
Merged security bulletin from advisories:
https://lists.centos.org/pipermail/centos-announce/2005-May/073835.html
https://lists.centos.org/pipermail/centos-announce/2005-May/073841.html
https://lists.centos.org/pipermail/centos-announce/2005-May/073886.html
https://lists.centos.org/pipermail/centos-announce/2005-May/073887.html
https://lists.centos.org/pipermail/centos-announce/2005-May/073895.html
https://lists.centos.org/pipermail/centos-announce/2005-May/073896.html
Affected packages:
rsh
rsh-server
Upstream details at:
https://access.redhat.com/errata/RHSA-2005:074
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
CentOS | 3 | ia64 | rsh | < 0.17-17.6 | rsh-0.17-17.6.ia64.rpm |
CentOS | 3 | ia64 | rsh-server | < 0.17-17.6 | rsh-server-0.17-17.6.ia64.rpm |
CentOS | 3 | s390 | rsh | < 0.17-17.6 | rsh-0.17-17.6.s390.rpm |
CentOS | 3 | s390 | rsh-server | < 0.17-17.6 | rsh-server-0.17-17.6.s390.rpm |
CentOS | 3 | s390x | rsh | < 0.17-17.6 | rsh-0.17-17.6.s390x.rpm |
CentOS | 3 | s390x | rsh-server | < 0.17-17.6 | rsh-server-0.17-17.6.s390x.rpm |
CentOS | any | x86_64 | rsh | < 0.17-17.6 | rsh-0.17-17.6.x86_64.rpm |
CentOS | any | x86_64 | rsh-server | < 0.17-17.6 | rsh-server-0.17-17.6.x86_64.rpm |
CentOS | any | i386 | rsh | < 0.17-17.6 | rsh-0.17-17.6.i386.rpm |
CentOS | any | i386 | rsh-server | < 0.17-17.6 | rsh-server-0.17-17.6.i386.rpm |