SV-248551r1137695_rule
V-248551
SRG-OS-000138-GPOS-00069
OL08-00-010190
CAT II
10
Configure all world-writable directories to have the sticky bit set to prevent unauthorized and unintended information transferred via shared system resources.
Set the sticky bit on all world-writable directories using the command, replace "[World-Writable Directory]" with any directory path missing the sticky bit:
$ sudo chmod 1777 [World-Writable Directory]
Verify that all world-writable directories have the sticky bit set.
Verify that all world-writable directories have the sticky bit set by running the following command:
$ sudo find / -type d \( -perm -0002 -a ! -perm -1000 \) -print 2>/dev/null
If any of the returned directories are world-writable and do not have the sticky bit set, this is a finding.
V-248551
False
OL08-00-010190
Verify that all world-writable directories have the sticky bit set.
Verify that all world-writable directories have the sticky bit set by running the following command:
$ sudo find / -type d \( -perm -0002 -a ! -perm -1000 \) -print 2>/dev/null
If any of the returned directories are world-writable and do not have the sticky bit set, this is a finding.
M
5416