1.116 RHEL-10-400140

Information

RHEL 10 must be configured so that world-writable directories are owned by root, sys, bin, or an application user.

GROUP ID: V-281045RULE ID: SV-281045r1165490

If a world-writable directory is not owned by root, sys, bin, or an application user identifier (UID), unauthorized users may be able to modify files created by others.

The only authorized public directories are 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

Configure RHEL 10 public directories to be owned by root or a system account to prevent unauthorized and unintended information transferred via shared system resources.

Use the following command template to set ownership of public directories to root or a system account:

$ sudo chown [root or system account] [Public Directory]

See Also

https://workbench.cisecurity.org/benchmarks/26403