{"description": "Ubuntu 22.04 systems support an \"interactive boot\" option that can\nbe used to prevent services from being started. On a Ubuntu 22.04\nsystem, interactive boot can be enabled by providing a <tt>1</tt>,\n<tt>yes</tt>, <tt>true</tt>, or <tt>on</tt> value to the\n<tt>systemd.confirm_spawn</tt> kernel argument in <tt>/etc/default/grub</tt>.\nRemove any instance of <pre>systemd.confirm_spawn=(1|yes|true|on)</pre> from\nthe kernel arguments in that file to disable interactive boot.\nRecovery booting must also be disabled. Confirm that\n<tt>GRUB_DISABLE_RECOVERY=true</tt> is set in  <tt>/etc/default/grub</tt>.\nIt is also required to change the runtime configuration, run:\n\n<pre>/sbin/grubby --update-kernel=ALL --remove-args=\"systemd.confirm_spawn\"</pre>\n\n<pre>grub2-mkconfig -o /boot/grub/grub.cfg</pre>", "rationale": "Using interactive or recovery boot, the console user could disable auditing, firewalls,\nor other services, weakening system security.", "severity": "medium", "references": {"cis-csc": ["11", "12", "14", "15", "16", "18", "3", "5"], "cobit5": ["DSS05.02", "DSS05.04", "DSS05.05", "DSS05.07", "DSS06.03", "DSS06.06"], "cui": ["3.1.2", "3.4.5"], "hipaa": ["164.308(a)(1)(ii)(B)", "164.308(a)(7)(i)", "164.308(a)(7)(ii)(A)", "164.310(a)(1)", "164.310(a)(2)(i)", "164.310(a)(2)(ii)", "164.310(a)(2)(iii)", "164.310(b)", "164.310(c)", "164.310(d)(1)", "164.310(d)(2)(iii)"], "isa-62443-2009": ["4.3.3.2.2", "4.3.3.5.1", "4.3.3.5.2", "4.3.3.5.3", "4.3.3.5.4", "4.3.3.5.5", "4.3.3.5.6", "4.3.3.5.7", "4.3.3.5.8", "4.3.3.6.1", "4.3.3.6.2", "4.3.3.6.3", "4.3.3.6.4", "4.3.3.6.5", "4.3.3.6.6", "4.3.3.6.7", "4.3.3.6.8", "4.3.3.6.9", "4.3.3.7.1", "4.3.3.7.2", "4.3.3.7.3", "4.3.3.7.4"], "isa-62443-2013": ["SR 1.1", "SR 1.10", "SR 1.11", "SR 1.12", "SR 1.13", "SR 1.2", "SR 1.3", "SR 1.4", "SR 1.5", "SR 1.6", "SR 1.7", "SR 1.8", "SR 1.9", "SR 2.1", "SR 2.2", "SR 2.3", "SR 2.4", "SR 2.5", "SR 2.6", "SR 2.7"], "iso27001-2013": ["A.6.1.2", "A.7.1.1", "A.9.1.2", "A.9.2.1", "A.9.2.3", "A.9.4.1", "A.9.4.4", "A.9.4.5"], "nist": ["SC-2(1)", "CM-6(a)"], "nist-csf": ["PR.AC-4", "PR.AC-6", "PR.PT-3"], "srg": ["SRG-OS-000480-GPOS-00227"]}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "Interactive boot is enabled at boot time", "ocil": "Inspect <tt>/etc/default/grub</tt> for any instances of\n<tt>systemd.confirm_spawn=(1|yes|true|on)</tt> in the kernel boot arguments.\nPresence of a <tt>systemd.confirm_spawn=(1|yes|true|on)</tt> indicates\nthat interactive boot is enabled at boot time and verify that\n<tt>GRUB_DISABLE_RECOVERY=true</tt> to disable recovery boot.", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 must disable the ability of systemd to spawn an interactive boot process.", "vuldiscussion": "Using interactive or recovery boot, the console user could disable auditing, firewalls, or other services, weakening system security.", "checktext": "Verify that GRUB 2 is configured to disable interactive boot.\n\nCheck that the current GRUB 2 configuration disables the ability of systemd to spawn an interactive boot process with the following command:\n\n$ sudo grubby --info=ALL | grep args | grep 'systemd.confirm_spawn'\n\nIf any output is returned, this is a finding.", "fixtext": "Configure the current GRUB 2 configuration to disable the ability of systemd to spawn an interactive boot process with the following command:\n\n$ sudo grubby --update-kernel=ALL --remove-args=\"systemd.confirm_spawn\""}}, "platform": "grub2", "platforms": ["grub2"], "sce_metadata": {}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": ["grub2"], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Verify that Interactive Boot is Disabled", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/accounts/accounts-physical/grub2_disable_interactive_boot/rule.yml", "template": null}