openSUSE Security Update : logrotate (openSUSE-SU-2011:0536-1)

medium Nessus Plugin ID 75638

Synopsis

The remote openSUSE 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)

Solution

Update the affected logrotate package.

See Also

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

https://lists.opensuse.org/opensuse-updates/2011-05/msg00055.html

Plugin Details

Severity: Medium

ID: 75638

File Name: suse_11_3_logrotate-110518.nasl

Version: 1.5

Type: local

Agent: unix

Published: 6/13/2014

Updated: 1/14/2021

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, 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:opensuse:logrotate, cpe:/o:novell:opensuse:11.3

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