ALMA-09-035110 - AlmaLinux OS 9 must prevent a user from overriding the disabling of the graphical user interface autorun function.

Information

Automatically mounting filesystems and running applications upon insertion of a device facilitates malicious activity.

Satisfies: SRG-OS-000378-GPOS-00163, SRG-OS-000114-GPOS-00059

Solution

Configure the GNOME desktop to not allow a user to change the setting that disables autorun on removable media.

Add the following line to "/etc/dconf/db/local.d/locks/00-security-settings-lock" to prevent user modification:

/org/gnome/desktop/media-handling/autorun-never

Then update the dconf system databases:

$ dconf update

See Also

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

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-3, CAT|II, CCI|CCI-000778, CCI|CCI-001958, Rule-ID|SV-269379r1050262_rule, STIG-ID|ALMA-09-035110, Vuln-ID|V-269379

Plugin: Unix

Control ID: c98823c72e09553b53a8d3ea99bd8aeebe507d692fa28312cfa1fee01465406a