Vulnerability in Cisofy Lynis
CVE-2020-13882
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.
Vulnerability class: TOCTOU (Time-of-Check to Time-of-Use)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.2 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.003, 17.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Cisofy Lynis
- Fedoraproject Fedora — versions 31, 32
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Live-Hack-CVE/CVE-2020-13882). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- cisofy.com/security/cve/cve-2020-13882/ (Vendor Advisory)
- FEDORA-2020-f251753b0f (vendor-advisory)
- FEDORA-2020-059e1591d6 (vendor-advisory)
- cwe.mitre.org/data/definitions/367.html (Third Party Advisory)