Check: GEN003720
HP-UX 11.31 STIG:
GEN003720
(in versions v1 r19 through v1 r13)
Title
The inetd.conf file, xinetd.conf file, and the xinetd.d directory must be owned by root or bin. (Cat II impact)
Discussion
Failure to give ownership of sensitive files or utilities to root provides the designated owner and unauthorized users with the potential to access sensitive information or change the system configuration which could weaken the system's security posture.
Check Content
Check the ownership of the xinetd.d directory, the (x)inetd.conf file and any files identified by the configuration file includedir stanza. # find / -type d -name xinetd.d | xargs -n1 ls -lLd # find / -type f -name inetd.conf -o -name xinetd.conf | xargs -n1 ls -lL # grep includedir <PATH>/xinetd.conf If any of the above named files, included files or directories are not owned by root or bin, this is a finding.
Fix Text
Change the ownership of the inetd.conf file to root or bin. # chown root <file or directory>
Additional Identifiers
Rule ID: SV-35067r1_rule
Vulnerability ID: V-821
Group Title: GEN003720
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 |