CCE-95441-2Platform: 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:
The /var/log directory is used by system services to store log data .
Rationale:
There are two important reasons to ensure that system logs are stored on a separate
partition: protection against resource exhaustion (since logs can grow quite large) and
protection of audit data.
Audit:
Run the following command and verify output shows /var/log is mounted:
# mount | grep /var/log
/dev/xvdh1 on /var/log type xfs (rw,relatime,data=ordered)
Remediation:
For new installations, during installation create a custom partition setup and specify a
separate partition for /var/log .
For systems that were previously installed, create a new partition and configure
/etc/fstab as appropriate.
Impact:
Resizing filesystems is a common activity in cloud-hosted servers. Separate filesystem
partitions may prevent successful resizing, or may require the installation of additional
tools solely for the purpose of resizing operations. The use of these additional tools may
introduce their own security considerations.
Parameter:
[yes/No]
Technical Mechanism:
For new installations, during installation create a custom partition setup and specify a
separate partition for /var/log .
For systems that were previously installed, create a new partition and configure
/etc/fstab as appropriate.
CCSS Severity: | CCSS Metrics: |
CCSS Score : 6.6 | Attack Vector: LOCAL |
Exploit Score: 1.8 | Attack Complexity: LOW |
Impact Score: 4.7 | Privileges Required: LOW |
Severity: MEDIUM | User Interaction: NONE |
Vector: AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H | Scope: UNCHANGED |
| Confidentiality: LOW |
| Integrity: LOW |
| Availability: HIGH |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72887 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72678 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:71974 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72340 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:84214 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:68592 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72992 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72781 |