1.52 SOL-11.1-020300

Information

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

GROUP ID: V-216299
RULE ID: SV-216299r959010

If the startup files are writable by other users, these users could modify the startup files to insert malicious commands into the startup files.

Solution

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>

See Also

https://workbench.cisecurity.org/benchmarks/23765