The Red Hat Enterprise Linux operating system must be configured so that local initialization files do not execute world-writable programs.
An XCCDF Rule
Description
<VulnDiscussion>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.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-204478r603261_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Set the mode on files being executed by the local initialization files with the following command:
# chmod 0755 <file>