Check: GEN001580
HP-UX 11.31 STIG:
GEN001580
(in versions v1 r19 through v1 r13)
Title
All run control scripts must have mode 0755 or less permissive. (Cat II impact)
Discussion
If the startup files are writable by other users, they could modify the startup files to insert malicious commands into the startup files.
Check Content
Verify run control scripts have no extended ACLs. # ls -lLa /sbin/init.d/[a-z,A-Z,0-9]* If the permissions include a "+" the file has an extended ACL, this is a finding.
Fix Text
Ensure all system startup files have mode 0755 or less permissive. Examine the rc files, all files in the rc1.d (rc2.d, and so on) directories, and in the /etc/init.d directory to ensure they are not world-writable. If they are world-writable, use the chmod command to correct the vulnerability, and research why they are world-writable. # chmod 755 startupfile
Additional Identifiers
Rule ID: SV-38494r1_rule
Vulnerability ID: V-906
Group Title: GEN001580
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 |