SuSE 11.1 Security Update : logrotate (SAT Patch Number 4583)

This script is Copyright (C) 2011-2013 Tenable Network Security, Inc.


Synopsis :

The remote SuSE 11 host is missing a security update.

Description :

This update for logrotate provides the following fixes :

- The shred_file function in logrotate might allow
context-dependent attackers to execute arbitrary
commands via shell metacharacters in a log filename, as
demonstrated by a filename that is automatically
constructed on the basis of a hostname or virtual
machine name (CVE-2011-1154). (bnc#679661)

- Race condition in the createOutputFile function in
logrotate allows local users to read log data by opening
a file before the intended permissions are in place
(CVE-2011-1098). (bnc#677336)

- The writeState function in logrotate might allow
context-dependent attackers to cause a denial of service
(rotation outage) via a (1) \n (newline) or (2) \
(backslash) character in a log filename, as demonstrated
by a filename that is automatically constructed on the
basis of a hostname or virtual machine name
(CVE-2011-1155). (bnc#679662)

- Fix handling of missingok option which previously was
not working as expected.

See also :

https://bugzilla.novell.com/show_bug.cgi?id=651685
https://bugzilla.novell.com/show_bug.cgi?id=677336
https://bugzilla.novell.com/show_bug.cgi?id=679661
https://bugzilla.novell.com/show_bug.cgi?id=679662
http://support.novell.com/security/cve/CVE-2011-1098.html
http://support.novell.com/security/cve/CVE-2011-1154.html
http://support.novell.com/security/cve/CVE-2011-1155.html

Solution :

Apply SAT patch number 4583.

Risk factor :

Medium / CVSS Base Score : 6.9
(CVSS2#AV:L/AC:M/Au:N/C:C/I:C/A:C)

Family: SuSE Local Security Checks

Nessus Plugin ID: 54827 ()

Bugtraq ID:

CVE ID: CVE-2011-1098
CVE-2011-1154
CVE-2011-1155