SLES-15-040180 - All SUSE operating system 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 SUSE operating system world-writable directories to root with the following command:

> sudo chgrp root <directory>

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-235002r991589_rule, STIG-ID|SLES-15-040180, Vuln-ID|V-235002

Plugin: Unix

Control ID: 38a27331f2176aefd2ec09267e689fdfc07ad5f637132b5f15d254a912464cef