GEN001580 - All run control scripts must have mode 0755 or less permissive - '/etc/rc.d/rc5.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

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_5_V2R1_STIG.zip

Item Details

Category: ACCESS CONTROL, CONFIGURATION MANAGEMENT

References: 800-53|AC-6, 800-53|CM-5(6), CAT|II, CCI|CCI-000225, CCI|CCI-001499, Rule-ID|SV-218316r603259_rule, STIG-ID|GEN001580, STIG-Legacy|SV-63843, STIG-Legacy|V-906, Vuln-ID|V-218316

Plugin: Unix

Control ID: 34e2930b30f43c9b4203ea5f8cead0d382949038d155456fd7146b82aa2b5f72