CCE-95440-4Platform: 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 directory is used by daemons and other system services to temporarily store
dynamic data. Some directories created by these processes may be world-writable.
Rationale:
Since the /var directory may contain world-writable files and directories, there is a risk of
resource exhaustion if it is not bound to a separate partition.
Audit:
Run the following command and verify output shows /var is mounted:
# mount | grep -E 's/vars'
/dev/xvdg1 on /var type xfs (rw,relatime,data=ordered)
Remediation:
For new installations, during installation create a custom partition setup and specify a
separate partition for /var .
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 .
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:72677 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72886 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72339 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72780 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:71973 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:68591 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:84213 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72991 |