CCE-95620-1Platform: cpe:/o:ubuntu:ubuntu_linux:18.04, cpe:/o:ubuntu:ubuntu_linux:22.04, cpe:/o:debian:debian_linux:11.x, cpe:/o:ubuntu:ubuntu_linux:20.04, cpe:/o:ubuntu:ubuntu_linux:16.04, cpe:/o:ubuntu:ubuntu_linux:23.04 | Date: (C)2021-03-08 (M)2023-09-01 |
Sudo can use a custom log file.
Rationale:
A sudo log file simplifies auditing of sudo commands.
Fix:
Edit the file /etc/sudoers or any file in /etc/sudoers.d and add the following : Defaults logfile=<path to custom file>
Parameter:
[/var/log/sudoers_log]
Technical Mechanism:
edit the file /etc/sudoers or any file in /etc/sudoers.d and add the following : Defaults logfile= path to custom file
CCSS Severity: | CCSS Metrics: |
CCSS Score : 6.3 | Attack Vector: LOCAL |
Exploit Score: 2.0 | Attack Complexity: LOW |
Impact Score: 3.7 | Privileges Required: LOW |
Severity: MEDIUM | User Interaction: NONE |
Vector: AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L | Scope: CHANGED |
| Confidentiality: LOW |
| Integrity: LOW |
| Availability: LOW |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:92314 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:70666 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:70755 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:85199 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:87349 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:68673 |