RHEL 4 : rsh (RHSA-2005:165)

high Nessus Plugin ID 18442

Synopsis

The remote Red Hat host is missing a security update for rsh.

Description

The remote Redhat Enterprise Linux 4 host has packages installed that are affected by a vulnerability as referenced in the RHSA-2005:165 advisory.

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.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the RHEL rsh package based on the guidance in RHSA-2005:165.

See Also

https://access.redhat.com/errata/RHSA-2005:165

https://access.redhat.com/security/updates/classification/#low

http://www.nessus.org/u?4a3edc73

https://bugzilla.redhat.com/show_bug.cgi?id=146978

https://bugzilla.redhat.com/show_bug.cgi?id=146979

Plugin Details

Severity: High

ID: 18442

File Name: redhat-RHSA-2005-165.nasl

Version: 1.27

Type: local

Agent: unix

Published: 6/10/2005

Updated: 11/4/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2004-0175

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:redhat:enterprise_linux:4, p-cpe:/a:redhat:enterprise_linux:rsh, p-cpe:/a:redhat:enterprise_linux:rsh-server

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Patch Publication Date: 6/8/2005

Vulnerability Publication Date: 8/18/2004

Reference Information

CVE: CVE-2004-0175

RHSA: 2005:165