UCF STIG Viewer Logo

All run control scripts must have mode 0755 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-906 GEN001580 SV-38494r1_rule ECLP-1 Medium
Description
If the startup files are writable by other users, they could modify the startup files to insert malicious commands into the startup files.
STIG Date
HP-UX 11.31 Security Technical Implementation Guide 2018-09-14

Details

Check Text ( C-36338r1_chk )
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 (F-31593r1_fix)
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