CVE-2020-13882
published 2020-06-18CVE-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…
PriorityP418medium4.2CVSS 3.1
AVLACHPRLUIRSUCLILAL
EPSS
0.26%
17.1th percentile
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.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| cisofy | lynis | < 3.0.0 | 3.0.0 |
| cisofy | lynis | >= 0 < 3.0.0-1 | 3.0.0-1 |
| cisofy | lynis | >= 0 < 3.0.0-1 | 3.0.0-1 |
| cisofy | lynis | >= 0 < 3.0.0-1 | 3.0.0-1 |
| cisofy | lynis | >= 0 < 3.0.0-1 | 3.0.0-1 |
| debian | lynis | < lynis 3.0.0-1 (bookworm) | lynis 3.0.0-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
CVSS provenance
nvdv3.14.2MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
nvdv2.03.7LOWAV:L/AC:H/Au:N/C:P/I:P/A:P
osv4.2MEDIUM
vendor_debian4.2LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-fgc5-qjvv-cffv: CISOfy Lynis before 3
ghsa_unreviewed·2022-05-24
CVE-2020-13882 [LOW] CWE-367 GHSA-fgc5-qjvv-cffv: CISOfy Lynis before 3
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.
OSV
CVE-2020-13882: CISOfy Lynis before 3
osv·2020-06-18·CVSS 4.2
CVE-2020-13882 [MEDIUM] CVE-2020-13882: CISOfy Lynis before 3
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.
Debian
CVE-2020-13882: lynis - CISOfy Lynis before 3.0.0 has Incorrect Access Control because of a TOCTOU race ...
vendor_debian·2020·CVSS 4.2
CVE-2020-13882 [MEDIUM] CVE-2020-13882: lynis - CISOfy Lynis before 3.0.0 has Incorrect Access Control because of a TOCTOU race ...
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.
Scope: local
bookworm: resolved (fixed in 3.0.0-1)
bullseye: resolved (fixed in 3.0.0-1)
forky: resolved (fixed in 3.0.0-1)
sid: resolved (fixed in 3.0.0-1)
trixie: resolved (fixed in 3.0.0-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-13882 lynis: incorrect access control because of a TOCTOU race condition
bugzilla·2020-07-14·CVSS 4.2
CVE-2020-13882 [MEDIUM] CVE-2020-13882 lynis: incorrect access control because of a TOCTOU race condition
CVE-2020-13882 lynis: incorrect access control because of a TOCTOU race condition
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.
References:
https://cisofy.com/security/cve/cve-2020-13882/
https://lists.fedoraproject.org/archives/list/[email protected]/message/JDCHEKNR3HPJRNHE5PYKFH5GNBADTPA7/
https://lists.fedoraproject.org/archives/list/[email protected]
Bugzilla
CVE-2020-13882 lynis: incorrect access control because of a TOCTOU race condition [epel-all]
bugzilla·2020-07-14·CVSS 4.2
CVE-2020-13882 [MEDIUM] CVE-2020-13882 lynis: incorrect access control because of a TOCTOU race condition [epel-all]
CVE-2020-13882 lynis: incorrect access control because of a TOCTOU race condition [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple suppo
Bugzilla
CVE-2020-13882 lynis: incorrect access control because of a TOCTOU race condition [fedora-all]
bugzilla·2020-07-14·CVSS 4.2
CVE-2020-13882 [MEDIUM] CVE-2020-13882 lynis: incorrect access control because of a TOCTOU race condition [fedora-all]
CVE-2020-13882 lynis: incorrect access control because of a TOCTOU race condition [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple s
https://cisofy.com/security/cve/cve-2020-13882/https://cwe.mitre.org/data/definitions/367.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JDCHEKNR3HPJRNHE5PYKFH5GNBADTPA7/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UBFHIX6RTHCK37FXMAAXP4KGAMLUFDUD/https://cisofy.com/security/cve/cve-2020-13882/https://cwe.mitre.org/data/definitions/367.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JDCHEKNR3HPJRNHE5PYKFH5GNBADTPA7/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UBFHIX6RTHCK37FXMAAXP4KGAMLUFDUD/
2020-06-18
Published