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-12531r2_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
UNIX SRG 2013-03-26

Details

Check Text ( C-7993r2_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 in 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-11287r2_fix)
Edit the /etc/hosts.allow and /etc/hosts.deny files to configure access restrictions.