Check: GEN003750
HP-UX 11.31 STIG:
GEN003750
(in versions v1 r19 through v1 r13)
Title
The xinetd.d directory must have mode 0755 or less permissive. (Cat II impact)
Discussion
The Internet service daemon configuration files must be protected as malicious modification could cause Denial of Service or increase the attack surface of the system.
Check Content
Check the (x)inetd.conf file for any included directories. # find / -type f -name xinetd.conf | xargs -n1 ls -lL # cat <PATH>/xinetd.conf | grep -v "^#" | grep includedir If (x)inetd.conf does not exist, or there is no includedir stanza, this is not a finding. Individually check the mode of any directories in the configuration file. # ls -lLd <included directories> If any of the included directories has a mode more permissive than 0755, this is a finding.
Fix Text
Change the mode of included xinetd configuration directories to 0755. # chmod 0755 <directory>
Additional Identifiers
Rule ID: SV-35074r1_rule
Vulnerability ID: V-22425
Group Title: GEN003750
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000225 |
The organization employs the concept of least privilege, allowing only authorized accesses for users (and processes acting on behalf of users) which are necessary to accomplish assigned tasks in accordance with organizational missions and business functions. |
Controls
Number | Title |
---|---|
AC-6 |
Least Privilege |