{"description": "The system's default desktop environment, GNOME3, will mount\ndevices and removable media (such as DVDs, CDs and USB flash drives) whenever\nthey are inserted into the system. To disable autorun-never within GNOME3, add or set\n<tt>autorun-never</tt> to <tt>true</tt> in <tt>/etc/dconf/db/local.d/00-security-settings</tt>.\nFor example:\n<pre>[org/gnome/desktop/media-handling]\nautorun-never=true</pre>\nOnce the settings have been added, add a lock to\n<tt>/etc/dconf/db/local.d/locks/00-security-settings-lock</tt> to prevent user modification.\nFor example:\n<pre>/org/gnome/desktop/media-handling/autorun-never</pre>\nAfter the settings have been set, run <tt>dconf update</tt>.", "rationale": "Automatically mounting file systems permits easy introduction of unknown devices, thereby facilitating malicious activity.\nDisabling automatic mount running in GNOME3 can prevent\nthe introduction of malware via removable media.\nIt will, however, also prevent desktop users from legitimate use\nof removable media.", "severity": "low", "references": {"cis-csc": ["12", "16"], "cobit5": ["APO13.01", "DSS01.04", "DSS05.03", "DSS05.04", "DSS05.05", "DSS05.07", "DSS06.03"], "cui": ["3.1.7"], "isa-62443-2009": ["4.3.3.2.2", "4.3.3.5.2", "4.3.3.6.6", "4.3.3.7.2", "4.3.3.7.4"], "isa-62443-2013": ["SR 1.1", "SR 1.13", "SR 1.2", "SR 1.4", "SR 1.5", "SR 1.9", "SR 2.1", "SR 2.6"], "iso27001-2013": ["A.11.2.6", "A.13.1.1", "A.13.2.1", "A.6.2.1", "A.6.2.2", "A.7.1.1", "A.9.2.1"], "nist": ["CM-7(a)", "CM-7(b)", "CM-6(a)"], "nist-csf": ["PR.AC-3", "PR.AC-6"], "srg": ["SRG-OS-000114-GPOS-00059", "SRG-OS-000378-GPOS-00163", "SRG-OS-000480-GPOS-00227"], "cis": ["1.7.8", "1.7.9"]}, "control_references": {"cis": ["1.7.8", "1.7.9"]}, "components": [], "identifiers": {}, "ocil_clause": "GNOME autorun is not disabled", "ocil": "These settings can be verified by running the following:\n<pre>$ gsettings get org.gnome.desktop.media-handling autorun-never</pre>\nIf properly configured, the output for <tt>autorun-never</tt>should be <tt>true</tt>.\nTo ensure that users cannot enable autorun in GNOME3, run the following:\n<pre>$ grep 'autorun-never' /etc/dconf/db/local.d/locks/*</pre>\nIf properly configured, the output for <tt>autorun-never</tt> should be <tt>/org/gnome/desktop/media-handling/autorun-never</tt>", "oval_external_content": null, "fixtext": "Configure GNOME 3 to disable automated mount of removable media.\n\nThe dconf settings can be edited in the /etc/dconf/db/* location.\n\nFirst, add or 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:\n\n[org/gnome/desktop/media-handling]\nautorun-never=true\n\nThen, add the following line to \"/etc/dconf/db/local.d/locks/00-security-settings-lock\" to prevent user modification:\n\n/org/gnome/desktop/media-handling/autorun-never\n\nFinally, update the dconf system databases:\n\n$ sudo dconf update", "checktext": "", "vuldiscussion": "", "srg_requirement": "Ubuntu 22.04 must disable the graphical user interface auto run unless required.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 must prevent a user from overriding the disabling of the graphical user interface autorun function.", "vuldiscussion": "Techniques used to address this include protocols using nonces (e.g., numbers generated for a specific one-time use) or challenges (e.g., TLS, WS_Security). Additional techniques include time-synchronous or challenge-response one-time authenticators.", "checktext": "Note: This requirement assumes the use of the Ubuntu 22.04 default graphical user interface, the GNOME desktop environment. If the system does not have any graphical user interface installed, this requirement is Not Applicable.\n\nVerify Ubuntu 22.04 disables ability of the user to override the graphical user interface autorun setting.\n\nDetermine which profile the system database is using with the following command:\n\n$ gsettings writable org.gnome.desktop.media-handling autorun-never\n\nfalse\n\nIf \"autorun-never\" is writable, the result is \"true\". If this is not documented with the information system security officer (ISSO) as an operational requirement, this is a finding.", "fixtext": "Configure the GNOME desktop to not allow a user to change the setting that disables autorun on removable media.\n\nAdd the following line to \"/etc/dconf/db/local.d/locks/00-security-settings-lock\" to prevent user modification:\n\n/org/gnome/desktop/media-handling/autorun-never\n\nThen update the dconf system databases:\n\n$ sudo dconf update"}}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": ["package[gdm]"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["package_gdm"], "bash_conditional": null, "fixes": {}, "title": "Disable GNOME3 Automount running", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/software/gnome/gnome_media_settings/dconf_gnome_disable_autorun/rule.yml", "template": null}