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 lo...
MediumCVSS 4.2
EPSS 0.26%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 4 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/lynis(Ubuntu 16.04) | = 2.1.1-1; All versions | No fix listed | No fix yet |
| ubuntu/lynis(Ubuntu 18.04) | = 2.5.0-1; = 2.6.0-1; = 2.6.2-1; All versions | No fix listed | No fix yet |
| ubuntu/lynis(Ubuntu 20.04) | = 2.6.2-1; All versions | No fix listed | No fix yet |
| cisofy lynis | < 3.0.0 | 3.0.0 | Fixed |
| debian/lynis(Debian 12) | < 3.0.0-1 | 3.0.0-1 | Fixed |
| debian/lynis(Debian 13) | < 3.0.0-1 | 3.0.0-1 | Fixed |
| debian/lynis(Debian 14) | < 3.0.0-1 | 3.0.0-1 | Fixed |
| fedoraproject fedora | = 31; = 32 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/lynis(Debian:12) | < 3.0.0-1 | 3.0.0-1 |
| debian/lynis(Debian:13) | < 3.0.0-1 | 3.0.0-1 |
| debian/lynis(Debian:14) | < 3.0.0-1 | 3.0.0-1 |
| cisofy lynis | < 3.0.0 | 3.0.0 |
| fedoraproject fedora | = 31 | No fix listed |
| fedoraproject fedora | = 32 | No fix listed |
| ubuntu/lynis(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/lynis(Ubuntu:16.04) | = 2.1.1-1 | No fix listed |
| ubuntu/lynis(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/lynis(Ubuntu:18.04) | = 2.5.0-1 | No fix listed |
| ubuntu/lynis(Ubuntu:18.04) | = 2.6.0-1 | No fix listed |
| ubuntu/lynis(Ubuntu:18.04) | = 2.6.2-1 | No fix listed |
| ubuntu/lynis(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/lynis(Ubuntu:20.04) | = 2.6.2-1 | No fix listed |
References
- Debian Security Tracker CVE-2020-13882 vendor-advisory
- cisofy.com issue-tracking vendor-advisory
- cwe.mitre.org third-party-advisory
- FEDORA-2020-f251753b0f vendor-advisory
- FEDORA-2020-059e1591d6 vendor-advisory
- ubuntu.com issue-tracking
- github.com issue-tracking
- github.com issue-tracking
- www.cve.org issue-tracking