RHEL-07-020730 - The Red Hat Enterprise Linux operating system must be configured so that local initialization files do not execute world-writable programs.

Information

If user start-up files execute world-writable programs, especially in unprotected directories, they could be maliciously modified to destroy user files or otherwise compromise the system at the user level. If the system is compromised at the user level, it is easier to elevate privileges to eventually compromise the system at the root and network level.

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

Set the mode on files being executed by the local initialization files with the following command:

# chmod 0755 <file>

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-204478r991589_rule, STIG-ID|RHEL-07-020730, STIG-Legacy|SV-86661, STIG-Legacy|V-72037, Vuln-ID|V-204478

Plugin: Unix

Control ID: f71e5cee5acba6bf5af65731b86444b208c681e1718bddf33cd103446ac479ea