Check: GEN008220
HP-UX 11.31 STIG:
GEN008220
(in versions v1 r19 through v1 r13)
Title
For systems using NSS LDAP, the TLS certificate file must be owned by root. (Cat II impact)
Discussion
The NSS LDAP service provides user mappings which are a vital component of system security. Its configuration must be protected from unauthorized modification.
Check Content
Determine if the system uses LDAP. If it does not, this is not applicable. # swlist | grep LDAP OR # cat /etc/nsswitch.conf | tr '\011' ' ' | tr -s ' ' | sed -e 's/^[ \t]*//' | grep -v "^#" | grep -i ldap If nothing is returned for either of the above commands, this is not applicable. If LDAP is installed, check the ownership of the LDAP cert file(s). # ls -lLa /etc/opt/ldapux/cert8.db If the owner of the file is not root or bin, this is a finding.
Fix Text
Change the ownership of the file. # chown root <certfile>
Additional Identifiers
Rule ID: SV-38390r1_rule
Vulnerability ID: V-22567
Group Title: GEN008220
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 |