RHEL 6 : logrotate (RHSA-2011:0407)

medium Nessus Plugin ID 53246

Synopsis

The remote Red Hat host is missing one or more security updates for logrotate.

Description

The remote Redhat Enterprise Linux 6 host has a package installed that is affected by multiple vulnerabilities as referenced in the RHSA-2011:0407 advisory.

- logrotate: TOCTOU race condition by creation of new files (between opening the file and moment, final permissions have been applied) [information disclosure] (CVE-2011-1098)

- logrotate: Shell command injection by using the shred configuration directive (CVE-2011-1154)

- logrotate: DoS due improper escaping of file names within 'write state' action (CVE-2011-1155)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the RHEL logrotate package based on the guidance in RHSA-2011:0407.

See Also

http://www.nessus.org/u?0f4f8940

https://access.redhat.com/security/updates/classification/#moderate

https://bugzilla.redhat.com/show_bug.cgi?id=680796

https://bugzilla.redhat.com/show_bug.cgi?id=680797

https://bugzilla.redhat.com/show_bug.cgi?id=680798

https://access.redhat.com/errata/RHSA-2011:0407

Plugin Details

Severity: Medium

ID: 53246

File Name: redhat-RHSA-2011-0407.nasl

Version: 1.18

Type: local

Agent: unix

Published: 4/1/2011

Updated: 4/21/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

Vendor

Vendor Severity: Moderate

CVSS v2

Risk Factor: Medium

Base Score: 6.9

Temporal Score: 5.1

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

CVSS Score Source: CVE-2011-1154

CVSS v3

Risk Factor: Medium

Base Score: 4.7

Temporal Score: 4.1

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS Score Source: CVE-2011-1098

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:logrotate, cpe:/o:redhat:enterprise_linux:6

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

Exploit Ease: No known exploits are available

Patch Publication Date: 3/31/2011

Vulnerability Publication Date: 3/30/2011

Reference Information

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

CWE: 367

RHSA: 2011:0407