GEN002540 - All public directories must be group-owned by root, sys, bin, or an application group.

Information

If a public directory has the sticky bit set and is not group-owned by a privileged 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.

Solution

Change the group-ownership of the public directory.

Procedure:
# chgrp root /tmp

(Replace root with a different system group and/or /tmp with a different public directory as necessary.)

See Also

http://iasecontent.disa.mil/stigs/zip/U_RedHat_5_V1R18_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6, CAT|II, CCI|CCI-000225, Group-ID|V-11990, Rule-ID|SV-37893r1_rule, STIG-ID|GEN002540, Vuln-ID|V-11990

Plugin: Unix

Control ID: ad49ebfe83c40d8b3c084fb27b1408884b1f239cfeafb2486dbccfa0d71296e2