UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-260482 UBTU-22-215030 SV-260482r958478_rule High
Description
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.
STIG Date
Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide 2024-05-30

Details

Check Text ( C-64211r953257_chk )
Verify the "rsh-server" package is not installed by using the following command:

$ dpkg -l | grep rsh-server

If the "rsh-server" package is installed, this is a finding.
Fix Text (F-64119r953258_fix)
Remove the "rsh-server" package by using the following command:

$ sudo apt-get remove rsh-server