CCE-55028-5Platform: 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:7 | Date: (C)2024-01-08 (M)2024-04-23 |
Title:
Ensure nodev option set on /var/log/audit partition
Description:
The nodev mount option specifies that the filesystem cannot contain special devices.
Rationale:
Since the /var/log/audit filesystem is not intended to support devices, set this option to
ensure that users cannot create a block or character special devices in /var/log/audit .
Audit:
Verify that the nodev option is set for the /var/log/audit mount.
Run the following command to verify that the nodev mount option is set.
Example:
# findmnt --kernel /var/log/audit | grep nodev
/var/log/audit /dev/sdb ext4 rw,nosuid,n odev,noexec,relatime,seclabel
Remediation:
Edit the /etc/fstab file and add nodev to the fourth field (mounting options) for the
/var/log/audit partition.
Example:
<device> /var/log/audit <fstype>
defaults,rw,nosuid,nodev,noexec,relatime 0 0
Run the following command to remount /var/log/audit with the configured options:
# mount -o remount /var/log/audit
Parameter:
[Yes/No]
Technical Mechanism:
Remediation:
Edit the /etc/fstab file and add nodev to the fourth field (mounting options) for the
/var/log/audit partition.
Example:
<device> /var/log/audit <fstype>
defaults,rw,nosuid,nodev,noexec,relatime 0 0
Run the following command to remount /var/log/audit with the configured options:
# mount -o remount /var/log/audit
CCSS Severity: | CCSS Metrics: |
CCSS Score : 7.8 | Attack Vector: LOCAL |
Exploit Score: 1.1 | Attack Complexity: HIGH |
Impact Score: 6.0 | Privileges Required: LOW |
Severity: HIGH | User Interaction: NONE |
Vector: AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H | Scope: CHANGED |
| Confidentiality: HIGH |
| Integrity: HIGH |
| Availability: HIGH |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:97257 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:97518 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:97226 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:96270 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:97458 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:97195 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:97491 |