CCE-95494-1Platform: 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:
rsyslog will create logfiles that do not already exist on the system. This setting controls
what permissions will be applied to these newly created files.
Rationale:
It is important to ensure that log files have the correct permissions to ensure that sensitive
data is archived and protected.
Audit:
Run the following command and verify that $FileCreateMode is 0640 or more restrictive:
# grep ^$FileCreateMode /etc/rsyslog.conf /etc/rsyslog.d/*.conf
Remediation:
Edit the /etc/rsyslog.conf and /etc/rsyslog.d/*.conf files and set $FileCreateMode to
0640 or more restrictive:
$FileCreateMode 0640
Notes:
You should also ensure this is not overridden with less restrictive settings in any
/etc/rsyslog.d/* conf file.
Parameter:
[0640]
Technical Mechanism:
Edit the /etc/rsyslog.conf and /etc/rsyslog.d/*.conf files and set $FileCreateMode to
0640 or more restrictive:
$FileCreateMode 0640
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:72940 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72834 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72731 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:84259 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72019 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:68645 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:73045 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:72385 |