#VU63693 Incorrect default permissions in logrotate


Published: 2022-05-26

Vulnerability identifier: #VU63693

Vulnerability risk: Low

CVSSv3.1: 2.9 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-1348

CWE-ID: CWE-276

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
logrotate
Other software / Other software solutions

Vendor: logrotate

Description

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to the way logrotate uses the state file. When the state file does not exist, it is created with world-readable permission, allowing an unprivileged user to lock the state file, stopping any rotation.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

logrotate: 3.3 - 3.20.0


External links
http://bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-1348
http://www.openwall.com/lists/oss-security/2022/05/25/3
http://www.openwall.com/lists/oss-security/2022/05/25/4


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability