GEN001580 - All run control scripts must have mode 0755 or less permissive - '/etc/rc.d/rc3.d/*'

Information

If the startup files are writable by other users, they 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 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.

Procedure:
# chmod 755 <startup file>

See Also

http://iasecontent.disa.mil/stigs/zip/U_RedHat_5_V1R18_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6, CAT|II, CCI|CCI-000225, Group-ID|V-906, Rule-ID|SV-37192r1_rule, STIG-ID|GEN001580, Vuln-ID|V-906

Plugin: Unix

Control ID: e0df73104ad2f9194fa3fc1061070a0a4ef7ce6d03beb1725311f63edbbaecd5