Check: SOL-11.1-020300
Solaris 11 SPARC STIG:
SOL-11.1-020300
(in versions v3 r2 through v1 r10)
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, these users could modify the startup files to insert malicious commands into the startup files.
Check Content
Check run control script modes. # ls -lL /etc/rc* /etc/init.d /lib/svc/method If any run control script has a mode more permissive than 0755, this is a finding.
Fix Text
Ensure all system startup files have mode 0755 or less permissive. Examine the rc files, and all files in the rc1.d (rc2.d, and so on) directories, and in the /etc/init.d and /lib/svc/method directories to ensure they are not world writable. If they are world writable, use the chmod command to correct the vulnerability and to research why. Procedure: # chmod go-w <startupfile>
Additional Identifiers
Rule ID: SV-216299r959010_rule
Vulnerability ID: V-216299
Group Title: SRG-OS-000480
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
Implement the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |