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

medium Nessus Plugin ID 54827

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.

Solution

Apply SAT patch number 4583.

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

Plugin Details

Severity: Medium

ID: 54827

File Name: suse_11_logrotate-110518.nasl

Version: 1.7

Type: local

Agent: unix

Published: 5/26/2011

Updated: 1/19/2021

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.9

Vector: CVSS2#AV:L/AC:M/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:novell:suse_linux:11:logrotate, cpe:/o:novell:suse_linux:11

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/SuSE/release, Host/SuSE/rpm-list

Patch Publication Date: 5/18/2011

Reference Information

CVE: CVE-2011-1098, CVE-2011-1154, CVE-2011-1155