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

The system's access control program must be configured to grant or deny system access to specific hosts.


Overview

Finding ID Version Rule ID IA Controls Severity
V-12030 GEN006620 SV-37758r1_rule ECCD-1 ECCD-2 ECSC-1 Medium
Description
If the system's access control program is not configured with appropriate rules for allowing and denying access to system network resources, services may be accessible to unauthorized hosts.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2015-03-12

Details

Check Text ( C-36955r1_chk )
Check for the existence of the "/etc/hosts.allow" and "/etc/hosts.deny" files.

Procedure:
# ls -la /etc/hosts.allow
# ls -la /etc/hosts.deny

If either file does not exist, this is a finding.

Check for the presence of a "default deny" entry.

Procedure:
# grep "ALL: ALL" /etc/hosts.deny

If the "ALL: ALL" entry is not present the "/etc/hosts.deny" file, any TCP service from a host or network not matching other rules will be allowed access. If the entry is not in "/etc/hosts.deny", this is a finding.

Fix Text (F-32220r1_fix)
Edit the "/etc/hosts.all" and "/etc/hosts.deny" files to configure access restrictions.