UBTU-16-010420 - All world-writable directories must be group-owned by root, sys, bin, or an application group.

Information

If a world-writable directory has the sticky bit set and is not group-owned by a privileged Group Identifier (GID), unauthorized users may be able to modify files created by others.

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.

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

Change the group of the world-writable directories to root, sys, bin, or an application group with the following command, replacing '[world-writable Directory]':

# sudo chgrp root [world-writable Directory]

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_16-04_LTS_V2R3_STIG.zip

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-4, CAT|II, CCI|CCI-001090, Rule-ID|SV-214981r610931_rule, STIG-ID|UBTU-16-010420, STIG-Legacy|SV-90193, STIG-Legacy|V-75513, Vuln-ID|V-214981

Plugin: Unix

Control ID: 38f1a04f78b89201e558d8af4f14c4c058efb3c82fbab82c654ade533d1a19f8