CVE-2020-13882

Public on 2020-06-18
Modified on 2023-08-22
Description

CISOfy Lynis before 3.0.0 has Incorrect Access Control because of a TOCTOU race condition. The routine to check the log and report file permissions was not working as intended and could be bypassed locally. Because of the race, an unprivileged attacker can set up a log and report file, and control that up to the point where the specific routine is doing its check. After that, the file can be removed, recreated, and used for additional attacks.

Severity
Medium
See what this means
CVSS v3 Base Score
4.2
See breakdown

Affected Packages

Platform Package Release Date Advisory
Amazon Linux 1 lynis 2020-08-26 23:09 ALAS-2020-1419
Amazon Linux 2 - Lynis Extra lynis 2023-08-21 21:00 ALAS2LYNIS-2023-001

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 4.2 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
NVD CVSSv3 4.2 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
NVD CVSSv2 3.7 AV:L/AC:H/Au:N/C:P/I:P/A:P