GEN002480 - Public directories must be the only world-writable directories and world-writable files must be located only in public dirs

Information

World-writable files and directories make it easy for a malicious user to place potentially compromising files on the system. The only authorized public directories are those temporary directories supplied with the system or those designed to be temporary file repositories. The setting is normally reserved for directories used by the system and by users for temporary file storage (e.g., /tmp) and for directories requiring global read/write access.

Solution

Remove or change the mode for any world-writable file or directory on the system that is not required to be world-writable.
Procedure:
# chmod o-w <file/directory>
Document all changes.

See Also

http://iasecontent.disa.mil/stigs/zip/U_STIG_Library_2015_07.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-1010r2_rule, STIG-ID|GEN002480, Vuln-ID|V-1010

Plugin: Unix

Control ID: 5eea07036ca1961f6753d7844c1b7260fb28829d159628496e422ee7d2d589ba