World-writable files must not exist.
An XCCDF Rule
Description
<VulnDiscussion>Data in world-writable files can be read, modified, and potentially compromised by any user on the system. World-writable files may also indicate an incorrectly written script or program that could potentially be the cause of a larger compromise to the system's integrity.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-216197r603268_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
The root role is required.
Change the permissions of the files identified in the check step to remove the world-writable permission.
# pfexec chmod o-w [filename]