GEN001580 - All run control scripts must have mode 0755 or less permissive - /lib/svc/method/*

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 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://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_SOL_10_x86_V2R4_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-227662r603266_rule, STIG-ID|GEN001580, STIG-Legacy|SV-27199, STIG-Legacy|V-906, Vuln-ID|V-227662

Plugin: Unix

Control ID: 12a6c5df11f71a858f880e6644cb95d7a850285c183bcb8de43bd2247607134f