Check: GEN003740
HP-UX 11.23 STIG:
GEN003740
(in version v1 r8)
Title
The inetd.conf and xinetd.conf files must have mode 0440 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 mode of the (x)inetd.conf file and any files identified by the configuration file includedir stanza: # find / -type f -name inetd.conf -o -name xinetd.conf | xargs -n1 ls -lL # grep includedir <PATH>/xinetd.conf # ls -lL <includedir files from previous command> If any of the above file mode are more permissive than 0440, this is a finding.
Fix Text
Change the mode of the (x)inetd.conf file. # chmod 0440 <file>
Additional Identifiers
Rule ID: SV-35072r1_rule
Vulnerability ID: V-822
Group Title: GEN003740
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 |