World-writable files must not exist.
An XCCDF Rule
Description
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.
- ID
- SV-216197r959010_rule
- Version
- SOL-11.1-070180
- Severity
- Medium
- References
- Updated
Remediation Templates
A 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]