[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-55012-9

Platform: cpe:/o:redhat:enterprise_linux:8,cpe:/o:oracle:linux:7,cpe:/o:oracle:linux:8,cpe:/o:amazon:linux:2,cpe:/o:redhat:enterprise_linux:9,cpe:/o:redhat:enterprise_linux:7,cpe:/o:centos:centos:7Date: (C)2024-01-08   (M)2024-04-23



Description: The `nodev` mount option specifies that the filesystem cannot contain special devices. Rationale: Since the /var filesystem is not intended to support devices, set this option to ensure that users cannot create a block or character special devices in /var . Audit: Verify that the `nodev` option is set if a `/var` partition exists.Run the following command and verify that nothing is returned:# mount | grep -E '\s/var\s' | grep -v nodev Remediation: Edit the `/etc/fstab` file and add `nodev` to the fourth field (mounting options) for the `/var` partition. See the `fstab(5)` manual page for more information.# mount -o remount,nodev /var.


Parameter:

[yes/no]


Technical Mechanism:

Run the following command to remount /var: # mount -o remount,nodev /var

CCSS Severity:CCSS Metrics:
CCSS Score : 3.3Attack Vector: LOCAL
Exploit Score: 1.8Attack Complexity: LOW
Impact Score: 1.4Privileges Required: LOW
Severity: LOWUser Interaction: NONE
Vector: AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LScope: UNCHANGED
 Confidentiality: NONE
 Integrity: NONE
 Availability: LOW
  

References:
Resource IdReference
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:96262
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:97451
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:97484
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:97188
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:97512
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:97219
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:97250


OVAL    7
oval:org.secpod.oval:def:97219
oval:org.secpod.oval:def:97512
oval:org.secpod.oval:def:97484
oval:org.secpod.oval:def:97188
...
XCCDF    7
xccdf_org.secpod_benchmark_general_RHEL_8
xccdf_org.secpod_benchmark_general_CENTOS_7
xccdf_org.secpod_benchmark_general_OEL_8
xccdf_org.secpod_benchmark_general_Amazon_Linux_2
...

© SecPod Technologies