ID CVE-2011-1098
Summary Race condition in the createOutputFile function in logrotate.c in logrotate 3.7.9 and earlier allows local users to read log data by opening a file before the intended permissions are in place.
References
Vulnerable Configurations
  • cpe:2.3:a:gentoo:logrotate:3.6.5:*:*:*:*:*:*:*
    cpe:2.3:a:gentoo:logrotate:3.6.5:*:*:*:*:*:*:*
  • cpe:2.3:a:gentoo:logrotate:3.7.8:*:*:*:*:*:*:*
    cpe:2.3:a:gentoo:logrotate:3.7.8:*:*:*:*:*:*:*
  • cpe:2.3:a:gentoo:logrotate:3.5.9:r1:*:*:*:*:*:*
    cpe:2.3:a:gentoo:logrotate:3.5.9:r1:*:*:*:*:*:*
  • cpe:2.3:a:gentoo:logrotate:3.7.6:*:*:*:*:*:*:*
    cpe:2.3:a:gentoo:logrotate:3.7.6:*:*:*:*:*:*:*
  • cpe:2.3:a:gentoo:logrotate:3.3:r2:*:*:*:*:*:*
    cpe:2.3:a:gentoo:logrotate:3.3:r2:*:*:*:*:*:*
  • cpe:2.3:a:gentoo:logrotate:3.7.2:*:*:*:*:*:*:*
    cpe:2.3:a:gentoo:logrotate:3.7.2:*:*:*:*:*:*:*
  • cpe:2.3:a:gentoo:logrotate:3.7:*:*:*:*:*:*:*
    cpe:2.3:a:gentoo:logrotate:3.7:*:*:*:*:*:*:*
  • cpe:2.3:a:gentoo:logrotate:3.7.1:r2:*:*:*:*:*:*
    cpe:2.3:a:gentoo:logrotate:3.7.1:r2:*:*:*:*:*:*
  • cpe:2.3:a:gentoo:logrotate:3.6.5:r1:*:*:*:*:*:*
    cpe:2.3:a:gentoo:logrotate:3.6.5:r1:*:*:*:*:*:*
  • cpe:2.3:a:gentoo:logrotate:3.5.9:*:*:*:*:*:*:*
    cpe:2.3:a:gentoo:logrotate:3.5.9:*:*:*:*:*:*:*
  • cpe:2.3:a:gentoo:logrotate:3.7.1:r1:*:*:*:*:*:*
    cpe:2.3:a:gentoo:logrotate:3.7.1:r1:*:*:*:*:*:*
  • cpe:2.3:a:gentoo:logrotate:*:*:*:*:*:*:*:*
    cpe:2.3:a:gentoo:logrotate:*:*:*:*:*:*:*:*
  • cpe:2.3:a:gentoo:logrotate:3.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:gentoo:logrotate:3.7.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gentoo:logrotate:3.7.7:*:*:*:*:*:*:*
    cpe:2.3:a:gentoo:logrotate:3.7.7:*:*:*:*:*:*:*
CVSS
Base: 1.9 (as of 13-02-2023 - 04:29)
Impact:
Exploitability:
CWE CWE-362
CAPEC
  • Leveraging Race Conditions
    The adversary targets a race condition occurring when multiple processes access and manipulate the same resource concurrently, and the outcome of the execution depends on the particular order in which the access takes place. The adversary can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance, a race condition can occur while accessing a file: the adversary can trick the system by replacing the original file with his version and cause the system to read the malicious file.
  • Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions
    This attack targets a race condition occurring between the time of check (state) for a resource and the time of use of a resource. A typical example is file access. The adversary can leverage a file access race condition by "running the race", meaning that they would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the adversary could replace or modify the file, causing the application to behave unexpectedly.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL NONE NONE
cvss-vector via4 AV:L/AC:M/Au:N/C:P/I:N/A:N
redhat via4
advisories
rhsa
id RHSA-2011:0407
rpms
  • logrotate-0:3.7.8-12.el6_0.1
  • logrotate-debuginfo-0:3.7.8-12.el6_0.1
refmap via4
confirm https://bugzilla.redhat.com/show_bug.cgi?id=680798
fedora
  • FEDORA-2011-3739
  • FEDORA-2011-3758
mandriva MDVSA-2011:065
mlist
  • [oss-security] 20110304 CVE Request -- logrotate -- nine issues
  • [oss-security] 20110304 Re: CVE Request -- logrotate -- nine issues
  • [oss-security] 20110305 Re: CVE Request -- logrotate -- nine issues
  • [oss-security] 20110306 Re: CVE Request -- logrotate -- nine issues
  • [oss-security] 20110307 Re: CVE Request -- logrotate -- nine issues
  • [oss-security] 20110308 Re: CVE Request -- logrotate -- nine issues
  • [oss-security] 20110310 Re: CVE Request -- logrotate -- nine issues
  • [oss-security] 20110311 Re: CVE Request -- logrotate -- nine issues
  • [oss-security] 20110314 Re: CVE Request -- logrotate -- nine issues
  • [oss-security] 20110323 Re: CVE Request -- logrotate -- nine issues
secunia 43955
vupen
  • ADV-2011-0791
  • ADV-2011-0872
  • ADV-2011-0961
Last major update 13-02-2023 - 04:29
Published 30-03-2011 - 22:55
Last modified 13-02-2023 - 04:29
Back to Top