CCE-99447-5Platform: cpe:/o:debian:debian_linux:11.x | Date: (C)2023-08-07 (M)2023-10-13 |
Description: The `/etc/logrotate.conf` file is used to store the logged information from many services on the system, or on log hosts others as well.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 `Uid` is `0/root,` `Gid` is `0/root,` and `Access` is `640` or more restrictive:# stat /etc/logrotate.confAccess: (0640/-rw-r-----) Uid: ( 0/ root) Gid: ( 0/ root)Remediation:Run the one following commands to set permissions on `/etc/logrotate.conf`:# chmod o-rwx,g-wx /etc/logrotate.conf# chown root:root /etc/logrotate.conf.
Parameter:
[perm_640]
Technical Mechanism:
Run the one following commands to set permissions on `/etc/logrotate.conf`: # chmod o-rwx,g-wx /etc/logrotate.conf # chown root:root /etc/logrotate.conf.
CCSS Severity: | CCSS Metrics: |
CCSS Score : 7.3 | Attack Vector: LOCAL |
Exploit Score: 1.8 | Attack Complexity: LOW |
Impact Score: 5.5 | Privileges Required: LOW |
Severity: HIGH | User Interaction: NONE |
Vector: AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H | Scope: UNCHANGED |
| Confidentiality: LOW |
| Integrity: HIGH |
| Availability: HIGH |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:91666 |