STIGQter STIGQter: STIG Summary: SLES 12 Security Technical Implementation Guide Version: 2 Release: 3 Benchmark Date: 23 Apr 2021:

The sticky bit must be set on all SUSE operating system world-writable directories.

DISA Rule

SV-217147r603262_rule

Vulnerability Number

V-217147

Group Title

SRG-OS-000138-GPOS-00069

Rule Version

SLES-12-010460

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure the SUSE operating system shared system resources to prevent any unauthorized and unintended information transfer by setting the sticky bit for all world-writable directories.

An example of a world-writable directory is "/tmp" directory. Set the sticky bit on all of the world-writable directories (using the "/tmp" directory as an example) with the following command:

# sudo chmod 1777 /tmp

For every world-writable directory, replace "/tmp" in the command above with the world-writable directory that does not have the sticky bit set.

Check Contents

Verify the SUSE operating system prevents unauthorized and unintended information transfer via the shared system resources.

Note: The example below should be repeated for each locally defined partition.

Check that world-writable directories have the sticky bit set with the following command:

# sudo find / -xdev -perm -002 -type d -fstype xfs -exec ls -lLd {} \;

256 0 drwxrwxrwt 1 root root 4096 Jun 14 06:45 /tmp

If any of the returned directories do not have the sticky bit set, or are not documented as having the write permission for the other class, this is a finding.

Vulnerability Number

V-217147

Documentable

False

Rule Version

SLES-12-010460

Severity Override Guidance

Verify the SUSE operating system prevents unauthorized and unintended information transfer via the shared system resources.

Note: The example below should be repeated for each locally defined partition.

Check that world-writable directories have the sticky bit set with the following command:

# sudo find / -xdev -perm -002 -type d -fstype xfs -exec ls -lLd {} \;

256 0 drwxrwxrwt 1 root root 4096 Jun 14 06:45 /tmp

If any of the returned directories do not have the sticky bit set, or are not documented as having the write permission for the other class, this is a finding.

Check Content Reference

M

Target Key

4033

Comments