CCE-95424-8Platform: cpe:/o:amazon:linux:2, cpe:/o:centos:centos:7, cpe:/o:oracle:linux:7, cpe:/o:oracle:linux:8, cpe:/o:redhat:enterprise_linux:7, cpe:/o:redhat:enterprise_linux:8, cpe:/o:redhat:enterprise_linux:9 | Date: (C)2021-03-05 (M)2023-07-04 |
Description:
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
Rationale:
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).
Note:
This recommendation is designed around the grub2 bootloader, if LILO or another bootloader is in use in your environment enact equivalent settings. Replace `/boot/grub2/grub.cfg with the appropriate grub configuration file for your environment
Remediation:
Create an encrypted password with grub2-setpassword
# grub2-setpassword
Enter password:
Confirm password:
Parameter:
[yes/no]
Technical Mechanism:
Create an encrypted password with grub2-setpassword
# grub2-setpassword
Enter password: password
Confirm password: password
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:72870 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72401 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72975 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72661 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72035 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:68575 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72764 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:84275 |