STIGUI
V-275576CAT II — Medium severitySV-275576r1147778_rule

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

Rule version RIIM-OS-215030 · STIG v1 · 2025-10-02

Discussion

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.

Check

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

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

     $ sudo apt-get remove rsh-server

Identifiers

Group ID
V-275576
Group title
SRG-OS-000095-GPOS-00049
Rule ID
SV-275576r1147778_rule
Check ID
C-79678r1147776_chk
Fix ID
F-79583r1147777_fix