Check: GEN006620
HP-UX 11.31 STIG:
GEN006620
(in versions v1 r19 through v1 r13)
Title
The system's access control program must be configured to grant or deny system access to specific hosts. (Cat II impact)
Discussion
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.
Check Content
Check for the existence of the /etc/hosts.allow and /etc/hosts.deny files (normally located within the /etc directory). # find /etc -type f -name hosts.allow -o -name hosts.deny | xargs -n1 ls -lL If either file does not exist, this is a finding. Check for the presence of a deny by default entry. cat <path>/hosts.deny | tr '\011' ' ' | tr -s ' ' | sed -e 's/^[ \t]*//' |grep -v "^#" | egrep "ALL: ALL" If the ALL: ALL entry is not present the 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 hosts.deny, this is a finding.
Fix Text
Edit the <path>/hosts.allow and <path/hosts.deny files to configure access restrictions.
Additional Identifiers
Rule ID: SV-35222r1_rule
Vulnerability ID: V-12030
Group Title: GEN006620
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |