Check: GEN002480
SUSE Linux Enterprise Server v11 for System z STIG:
GEN002480
(in versions v1 r12 through v1 r9)
Title
Public directories must be the only world-writable directories and world-writable files must be located only in public directories. (Cat II impact)
Discussion
World-writable files and directories make it easy for a malicious user to place potentially compromising files on the system. 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.
Check Content
Check the system for world-writable files. Procedure: # find / -perm -2 -a \( -type d -o -type f \) -exec ls -ld {} \; If any world-writable files are located, except those required for system operation such as /tmp and /dev/null, this is a finding.
Fix Text
Remove or change the mode for any world-writable file on the system not required to be world-writable. Procedure: # chmod o-w <file> Document all changes
Additional Identifiers
Rule ID: SV-45201r1_rule
Vulnerability ID: V-1010
Group Title: GEN002480
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |