CCE-90700-6Platform: rhel7,centos7 | Date: (C)2017-06-29 (M)2022-10-10 |
Bind Mount /var/tmp To /tmp
The '/var/tmp' directory is a world-writable directory.
Bind-mount it to '/tmp' in order to consolidate temporary storage into
one location protected by the same techniques as '/tmp'. To do so, edit
'/etc/fstab' and add the following line:
'/tmp /var/tmp none rw,nodev,noexec,nosuid,bind 0 0'
See the 'mount(8)' man page for further explanation of bind mounting.
Parameter:
Technical Mechanism:
Having multiple locations for temporary storage is not required. Unless absolutely
necessary to meet requirements, the storage location '/var/tmp' should be bind mounted to
'/tmp' and thus share the same protections.
Fix:
No Remediation Info
CCSS Severity: | CCSS Metrics: |
CCSS Score : | Attack Vector: |
Exploit Score: | Attack Complexity: |
Impact Score: | Privileges Required: |
Severity: | User Interaction: |
Vector: | Scope: |
| Confidentiality: |
| Integrity: |
| Availability: |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:31114 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:30391 |