CCE-95601-1Platform: cpe:/o:ubuntu:ubuntu_linux:16.04, cpe:/o:ubuntu:ubuntu_linux:18.04, cpe:/o:ubuntu:ubuntu_linux:20.04, cpe:/o:ubuntu:ubuntu_linux:22.04, cpe:/o:ubuntu:ubuntu_linux:23.04 | Date: (C)2021-03-08 (M)2023-09-01 |
The noexec mount option specifies that the filesystem cannot contain executable binaries.
Rationale:
Since the /var/tmp filesystem is only intended for temporary file storage, set this option to ensure that users cannot run executable binaries from /var/tmp.
Fix:
Run the following command to remount /var/tmp:
# mount -o remount,noexec /var/tmp
Also add or edit entry for /var/tmp in /etc/fstab as appropriate.
Parameter:
[yes/no]
Technical Mechanism:
Run the following command to remount /var/tmp:
# mount -o remount,noexec /var/tmp
CCSS Severity: | CCSS Metrics: |
CCSS Score : 5.5 | Attack Vector: LOCAL |
Exploit Score: 1.8 | Attack Complexity: LOW |
Impact Score: 3.6 | Privileges Required: LOW |
Severity: MEDIUM | User Interaction: NONE |
Vector: AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | Scope: UNCHANGED |
| Confidentiality: NONE |
| Integrity: NONE |
| Availability: HIGH |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:70736 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:92329 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:68654 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:70647 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:85180 |