Bug 1856664 (CVE-2020-13882) - CVE-2020-13882 lynis: incorrect access control because of a TOCTOU race condition
Summary: CVE-2020-13882 lynis: incorrect access control because of a TOCTOU race condi...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2020-13882
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1856665 1856666
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-14 07:49 UTC by Dhananjay Arunesh
Modified: 2020-07-14 13:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-14 13:27:56 UTC
Embargoed:


Attachments (Terms of Use)

Description Dhananjay Arunesh 2020-07-14 07:49:40 UTC
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/package-announce@lists.fedoraproject.org/message/JDCHEKNR3HPJRNHE5PYKFH5GNBADTPA7/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBFHIX6RTHCK37FXMAAXP4KGAMLUFDUD/

Comment 1 Dhananjay Arunesh 2020-07-14 07:50:33 UTC
Created lynis tracking bugs for this issue:

Affects: epel-all [bug 1856666]
Affects: fedora-all [bug 1856665]

Comment 2 Product Security DevOps Team 2020-07-14 13:27:56 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.