CVE-2020-13882

Public on 2020-08-26
Modified on 2020-08-31
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
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

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv2 3.7 AV:L/AC:H/Au:N/C:P/I:P/A:P
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 CVSSv2 3.7 AV:L/AC:H/Au:N/C:P/I:P/A:P
NVD CVSSv3 4.2 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L