9.21 Find World Writable Files

Information

Unix-based systems support variable settings to control access to files. World-writable files
are the least secure. See the chmod man page for more information.

Rationale:

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.

Solution

Correct or justify any items discovered in the Audit step. Determine the existence of any
"write access" given for the "other" category (chmod o-w <filename>), and work with the
owner to determine the best course of action in accordance with site policy.

See Also

https://workbench.cisecurity.org/files/2582