UBTU-22-215030 - Ubuntu 22.04 LTS must not have the "rsh-server" package installed.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

It is detrimental for operating systems to provide, or install by default, functionality exceeding requirements or mission objectives. These unnecessary capabilities or services are often overlooked and therefore may remain unsecured. They increase the risk to the platform by providing additional attack vectors.

Remote Shell (RSH) is a client/server application protocol that provides an unencrypted remote access service, which does not provide for the confidentiality and integrity of user passwords or the remote session. If users were allowed to login to a system using RSH, the privileged user passwords and communications could be compromised.

Removing the "rsh-server" package decreases the risk of accidental or intentional activation of the RSH service.

Solution

Remove the "rsh-server" package by using the following command:

$ sudo apt-get remove rsh-server

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_22-04_LTS_V1R1_STIG.zip

Item Details

References: CAT|I, CCI|CCI-000381, Rule-ID|SV-260482r953259_rule, STIG-ID|UBTU-22-215030, Vuln-ID|V-260482

Plugin: Unix

Control ID: d736db15007cc0ac08a392da4725ba355399c5ffea389ee6f764ecbaf2440b54