CCE-92969-5Platform: cpe:/o:ubuntu:ubuntu_linux:19.04 | Date: (C)2019-11-07 (M)2023-07-14 |
Set Boot Loader Password
Setting the boot loader password will require that anyone rebooting the system must enter a password before being able to set command line boot parameters
Parameter:
[yes/no]
Technical Mechanism:
Requiring a boot password upon execution of the boot loader will prevent an unauthorized user from entering boot parameters or changing the boot partition. This prevents users from weakening security (e.g. turning off SELinux at boot time).
Fix:
"Create an encrypted password with grub-md5-crypt:
# grub-mkpasswd-pbkdf2 Enter password: Reenter password:
Your PBKDF2 is
Add the following into /etc/grub.d/00_header or a custom /etc/grub.d configuration file:
cat <""
password_pbkdf2
EOF
Unless the --unrestricted option is added to CLASS in /etc/grub.d/10_linux a password will be required to boot in addition to editing boot parameters:
CLASS=""--class gnu-linux --class gnu --class os --unrestricted""
Run the following to update the grub configuration:
# update-grub"
CCSS Severity: | CCSS Metrics: |
CCSS Score : 6.8 | Attack Vector: PHYSICAL |
Exploit Score: 0.9 | Attack Complexity: LOW |
Impact Score: 5.9 | Privileges Required: NONE |
Severity: MEDIUM | User Interaction: NONE |
Vector: AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | Scope: UNCHANGED |
| Confidentiality: HIGH |
| Integrity: HIGH |
| Availability: HIGH |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:55182 |