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

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 on the system not required to be world-writable.

Procedure:
# chmod o-w <file>

Document all changes

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_5_V2R1_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 100e4d182cc540ff3fd0206e00e54d2d7aca08a86fc55a803ec26591110ec6a1