STIGUI
V-253133CAT II — Medium severitySV-253133r991589_rule

TOSS must restrict privilege elevation to authorized personnel.

Rule version TOSS-04-040920 · STIG v2 · 2026-08-20

Discussion

The sudo command allows a user to execute programs with elevated (administrator) privileges. It prompts the user for their password and confirms the request to execute a command by checking a file, called sudoers. If the "sudoers" file is not configured correctly, any user defined on the system can initiate privileged actions on the target system.

Check

Verify the "sudoers" file restricts sudo access to authorized personnel.

$ sudo grep -iwr 'ALL[[:blank:]]\+ALL' /etc/sudoers /etc/sudoers.d

If the either of the following entries are returned, this is a finding: ALL ALL=(ALL) ALL ALL ALL=(ALL:ALL) ALL

Fix

Remove the following entries from the sudoers file: ALL ALL=(ALL) ALL ALL ALL=(ALL:ALL) ALL

Identifiers

Group ID
V-253133
Group title
SRG-OS-000480-GPOS-00227
Rule ID
SV-253133r991589_rule
Check ID
C-56586r825069_chk
Fix ID
F-56536r825070_fix