InformationThe operating system must be configured so that all world-writable directories are group-owned by root, sys, bin, or an application group.
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.
SolutionReferring to the list obtained in in the Audit above, change the group of the world-writable directories to root with the following command:
# chgrp root <directory>
This Benchmark recommendation maps to:
Red Hat Enterprise Linux 7 Security Technical Implementation Guide:
Version 2, Release: 3 Benchmark Date: 26 Apr 2019
Vul ID: V-72047
Rule ID: SV-86671r4_rule
STIG ID: RHEL-07-021030
Severity: CAT II