STIGUI
V-261308CAT II — Medium severitySV-261308r996395_rule

SLEM 5 must prevent unauthorized users from accessing system error messages.

Rule version SLEM-05-232115 · STIG v1 · 2026-08-20

Discussion

Only authorized personnel should be aware of errors and the details of the errors. Error messages are an indicator of an organization's operational state or can identify SLEM 5 or platform. Additionally, Personally Identifiable Information (PII) and operational information must not be revealed through error messages to unauthorized personnel or their designated representatives.

The structure and content of error messages must be carefully considered by the organization and development team. The extent to which the information system is able to identify and handle error conditions is guided by organizational policy and operational requirements.

Check

Verify SLEM 5 prevents unauthorized users from accessing system error messages.

Check the "/var/log/messages" file permissions with the following command:

     > sudo stat -c "%n %U:%G %a" /var/log/messages
     /var/log/messages root:root 640

Check that "permissions.local" file contains the correct permissions rules with the following command:

     > grep -i messages /etc/permissions.local
     /var/log/messages root:root 640

If the effective permissions do not match the "permissions.local" file, the command does not return any output, or is commented out, this is a finding.

Fix

Configure SLEM 5 to prevent unauthorized users from accessing system error messages.

Add or update the following rules in "/etc/permissions.local":

/var/log/messages root:root 640

Set the correct permissions with the following command:

     > sudo chkstat --set --system

Identifiers

Group ID
V-261308
Group title
SRG-OS-000206-GPOS-00084
Rule ID
SV-261308r996395_rule
Check ID
C-65037r996393_chk
Fix ID
F-64945r996394_fix