CCE-99462-4Platform: cpe:/o:ubuntu:ubuntu_linux:22.04, cpe:/o:ubuntu:ubuntu_linux:23.04, cpe:/o:ubuntu:ubuntu_linux:20.04 | Date: (C)2023-07-04 (M)2023-12-20 |
The noexec mount option specifies that the filesystem cannot contain executable binaries.
Rationale:
Since the /var/log filesystem is only intended for log files, set this option to ensure that users cannot run executable binaries from /var/log.
Fix:
Run the following command to remount /var/tmp:
# mount -o remount,noexec /var/log
Also add or edit entry for /var/log in /etc/fstab as appropriate.
Parameter:
[yes/no]
Technical Mechanism:
Run the following command to remount /var/log:
# mount -o remount,noexec /var/log
CCSS Severity: | CCSS Metrics: |
CCSS Score : 7.8 | Attack Vector: LOCAL |
Exploit Score: 1.8 | Attack Complexity: LOW |
Impact Score: 5.9 | Privileges Required: LOW |
Severity: HIGH | User Interaction: NONE |
Vector: AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Scope: UNCHANGED |
| Confidentiality: HIGH |
| Integrity: HIGH |
| Availability: HIGH |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:92338 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:90434 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:95942 |