STIGUI
V-258016CAT II — Medium severitySV-258016r958804_rule

RHEL 9 must disable the graphical user interface autorun function unless required.

Rule version RHEL-09-271030 · STIG v2 · 2026-09-17

Discussion

Allowing autorun commands to execute may introduce malicious code to a system. Configuring this setting prevents autorun commands from executing.

Check

Verify RHEL 9 disables the graphical user interface autorun function with the following command:

Note: This requirement assumes the use of the RHEL 9 default graphical user interface, the GNOME desktop environment. If the system does not have any graphical user interface installed, this requirement is Not Applicable.

$ gsettings get org.gnome.desktop.media-handling autorun-never 

true

If "autorun-never" is set to "false", and is not documented with the information system security officer (ISSO) as an operational requirement, this is a finding.

Fix

Configure the GNOME desktop to disable the autorun function on removable media.

The dconf settings can be edited in the /etc/dconf/db/* location.

Update the [org/gnome/desktop/media-handling] section of the "/etc/dconf/db/local.d/00-security-settings" database file and add or update the following lines:

[org/gnome/desktop/media-handling] autorun-never=true

Then update the dconf system databases:

$ sudo dconf update

Identifiers

Group ID
V-258016
Group title
SRG-OS-000368-GPOS-00154
Rule ID
SV-258016r958804_rule
Check ID
C-61757r926033_chk
Fix ID
F-61681r926034_fix