STIGQter STIGQter: STIG Summary: SUSE Linux Enterprise Server 15 Security Technical Implementation Guide Version: 1 Release: 2 Benchmark Date: 23 Apr 2021:

All SUSE operating system local initialization files must not execute world-writable programs.

DISA Rule

SV-234997r622137_rule

Vulnerability Number

V-234997

Group Title

SRG-OS-000480-GPOS-00227

Rule Version

SLES-15-040130

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Remove the references to these files in the local initialization scripts or remove the world-writable permission of files referenced by SUSE operating system local initialization scripts with the following command:

> sudo chmod 0755 <file>

Check Contents

Verify that SUSE operating system local initialization files do not execute world-writable programs.

Verify that SUSE operating system local initialization files do not
execute world-writable programs.

Check the system for world-writable files with the following command:

> sudo find / -xdev -perm -002 -type f -exec ls -ld {} \;

For all files listed, check for their presence in the local
initialization files with the following command:

Note: The example will be for a system that is configured to create
users' home directories in the "/home" directory.

> sudo find /home/* -maxdepth 1 -type f -name \.\* -exec grep -H <file> {} \;

If any local initialization files are found to reference world-writable
files, this is a finding.

Vulnerability Number

V-234997

Documentable

False

Rule Version

SLES-15-040130

Severity Override Guidance

Verify that SUSE operating system local initialization files do not execute world-writable programs.

Verify that SUSE operating system local initialization files do not
execute world-writable programs.

Check the system for world-writable files with the following command:

> sudo find / -xdev -perm -002 -type f -exec ls -ld {} \;

For all files listed, check for their presence in the local
initialization files with the following command:

Note: The example will be for a system that is configured to create
users' home directories in the "/home" directory.

> sudo find /home/* -maxdepth 1 -type f -name \.\* -exec grep -H <file> {} \;

If any local initialization files are found to reference world-writable
files, this is a finding.

Check Content Reference

M

Target Key

5274

Comments