UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

All SLEM 5 local initialization files must not execute world-writable programs.


Overview

Finding ID Version Rule ID IA Controls Severity
V-261354 SLEM-05-411040 SV-261354r996514_rule Medium
Description
If user start-up files execute world-writable programs, especially in unprotected directories, they could be maliciously modified to destroy user files or otherwise compromise the system at the user level. If the system is compromised at the user level, it is easier to elevate privileges to eventually compromise the system at the root and network level.
STIG Date
SUSE Linux Enterprise Micro (SLEM) 5 Security Technical Implementation Guide 2024-06-04

Details

Check Text ( C-65083r996513_chk )
Verify that SLEM 5 local initialization files do not execute world-writable programs 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 {} \;

If any local initialization files are found to reference world-writable files, this is a finding.
Fix Text (F-64991r995928_fix)
Remove the references to these files in the local initialization scripts or remove the world-writable permission of files referenced by SLEM 5 local initialization scripts with the following command:

> sudo chmod 755