[Forgot Password]
Login  Register Subscribe

30479

 
 

423868

 
 

248392

 
 

909

 
 

195452

 
 

282

Paid content will be excluded from the download.


Download | Alert*
CCE
view XML

CCE-95405-7

Platform: 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:9Date: (C)2021-03-05   (M)2023-07-04



Description Configure SELINUX to be enabled at boot time and verify that it has not been overwritten by the grub boot parameters. Rationale SELinux must be enabled at boot time in your grub configuration to ensure that the controls it provides are not overridden. Audit Run the following command and verify that no linux line has the selinux=0 or enforcing=0 parameters set: # grep "^s*linux" /boot/grub2/grub.cfg Remediation Edit /etc/default/grub and remove all instances of selinux=0 and enforcing=0 from all CMDLINE_LINUX parameters: GRUB_CMDLINE_LINUX_DEFAULT="quiet" GRUB_CMDLINE_LINUX="" Run the following command to update the grub2 configuration: # grub2-mkconfig > /boot/grub2/grub.cfg Notes This recommendation is designed around the grub bootloader, if LILO or another bootloader is in use in your environment enact equivalent settings.


Parameter:

[yes/no]


Technical Mechanism:

Edit /etc/default/grub and remove all instances of selinux=0 and enforcing=0 from all CMDLINE_LINUX parameters: GRUB_CMDLINE_LINUX_DEFAULT="quiet" GRUB_CMDLINE_LINUX="" Run the following command to update the grub2 configuration: # grub2-mkconfig /boot/grub2/grub.cfg

CCSS Severity:CCSS Metrics:
CCSS Score : 9.8Attack Vector: NETWORK
Exploit Score: 3.9Attack Complexity: LOW
Impact Score: 5.9Privileges Required: NONE
Severity: CRITICALUser Interaction: NONE
Vector: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HScope: UNCHANGED
 Confidentiality: HIGH
 Integrity: HIGH
 Availability: HIGH
  

References:
Resource IdReference
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72327
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72745
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72642
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:68557
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72852
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:84201
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72957
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:71961


OVAL    8
oval:org.secpod.oval:def:84201
oval:org.secpod.oval:def:72327
oval:org.secpod.oval:def:72745
oval:org.secpod.oval:def:72957
...
XCCDF    8
xccdf_org.secpod_benchmark_general_Amazon_Linux_AMI
xccdf_org.secpod_benchmark_general_CENTOS_7
xccdf_org.secpod_benchmark_general_RHEL_8
xccdf_org.secpod_benchmark_general_OEL_8
...

© SecPod Technologies