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

Information

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

Solution

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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_9_V2R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7(2), CAT|II, CCI|CCI-001764, Rule-ID|SV-258016r958804_rule, STIG-ID|RHEL-09-271030, Vuln-ID|V-258016

Plugin: Unix

Control ID: 194537dd82480e678db72302542c8a0e2773ab18c2bcdb4faa289dbbdf03a01e