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

medium Nessus Plugin ID 75942

Synopsis

The remote openSUSE host is missing a security update.

Description

This update for logrotate provides the following fixes :

dbg114-logrotate-4580 logrotate-4580 new_updateinfo 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)

dbg114-logrotate-4580 logrotate-4580 new_updateinfo 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)

dbg114-logrotate-4580 logrotate-4580 new_updateinfo 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 packages.

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: 75942

File Name: suse_11_4_logrotate-110518.nasl

Version: 1.5

Type: local

Agent: unix

Published: 6/13/2014

Updated: 1/14/2021

Supported Sensors: Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, 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, p-cpe:/a:novell:opensuse:logrotate-debuginfo, p-cpe:/a:novell:opensuse:logrotate-debugsource, cpe:/o:novell:opensuse:11.4

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

Patch Publication Date: 5/18/2011

Reference Information

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