Executive Summary
Summary | |
---|---|
Title | logrotate security update |
Informations | |||
---|---|---|---|
Name | RHSA-2011:0407 | First vendor Publication | 2011-03-31 |
Vendor | RedHat | Last vendor Modification | 2011-03-31 |
Severity (Vendor) | Moderate | Revision | 01 |
Security-Database Scoring CVSS v3
Cvss vector : N/A | |||
---|---|---|---|
Overall CVSS Score | NA | ||
Base Score | NA | Environmental Score | NA |
impact SubScore | NA | Temporal Score | NA |
Exploitabality Sub Score | NA | ||
Calculate full CVSS 3.0 Vectors scores |
Security-Database Scoring CVSS v2
Cvss vector : (AV:L/AC:M/Au:N/C:C/I:C/A:C) | |||
---|---|---|---|
Cvss Base Score | 6.9 | Attack Range | Local |
Cvss Impact Score | 10 | Attack Complexity | Medium |
Cvss Expoit Score | 3.4 | Authentication | None Required |
Calculate full CVSS 2.0 Vectors scores |
Detail
Problem Description: An updated logrotate package that fixes multiple security issues is now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. 2. Relevant releases/architectures: Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64 Red Hat Enterprise Linux HPC Node (v. 6) - x86_64 Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64 Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64 3. Description: The logrotate utility simplifies the administration of multiple log files, allowing the automatic rotation, compression, removal, and mailing of log files. A shell command injection flaw was found in the way logrotate handled the shred directive. A specially-crafted log file could cause logrotate to execute arbitrary commands with the privileges of the user running logrotate (root, by default). Note: The shred directive is not enabled by default. (CVE-2011-1154) A race condition flaw was found in the way logrotate applied permissions when creating new log files. In some specific configurations, a local attacker could use this flaw to open new log files before logrotate applies the final permissions, possibly leading to the disclosure of sensitive information. (CVE-2011-1098) An input sanitization flaw was found in logrotate. A log file with a specially-crafted file name could cause logrotate to abort when attempting to process that file a subsequent time. (CVE-2011-1155) All logrotate users should upgrade to this updated package, which contains backported patches to resolve these issues. 4. Solution: Before applying this update, make sure all previously-released errata relevant to your system have been applied. This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/kb/docs/DOC-11259 5. Bugs fixed (http://bugzilla.redhat.com/): 680796 - CVE-2011-1154 logrotate: Shell command injection by using the shred configuration directive 680797 - CVE-2011-1155 logrotate: DoS due improper escaping of file names within 'write state' action 680798 - CVE-2011-1098 logrotate: TOCTOU race condition by creation of new files (between opening the file and moment, final permissions have been applied) [information disclosure] |
Original Source
Url : https://rhn.redhat.com/errata/RHSA-2011-0407.html |
CWE : Common Weakness Enumeration
% | Id | Name |
---|---|---|
33 % | CWE-399 | Resource Management Errors |
33 % | CWE-362 | Race Condition |
33 % | CWE-20 | Improper Input Validation |
OVAL Definitions
Definition Id: oval:org.mitre.oval:def:21159 | |||
Oval ID: | oval:org.mitre.oval:def:21159 | ||
Title: | RHSA-2011:0407: logrotate security update (Moderate) | ||
Description: | The writeState function in logrotate.c in logrotate 3.7.9 and earlier 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. | ||
Family: | unix | Class: | patch |
Reference(s): | RHSA-2011:0407-01 CVE-2011-1098 CVE-2011-1154 CVE-2011-1155 | Version: | 42 |
Platform(s): | Red Hat Enterprise Linux 6 | Product(s): | logrotate |
Definition Synopsis: | |||
Definition Id: oval:org.mitre.oval:def:23551 | |||
Oval ID: | oval:org.mitre.oval:def:23551 | ||
Title: | ELSA-2011:0407: logrotate security update (Moderate) | ||
Description: | The writeState function in logrotate.c in logrotate 3.7.9 and earlier 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. | ||
Family: | unix | Class: | patch |
Reference(s): | ELSA-2011:0407-01 CVE-2011-1098 CVE-2011-1154 CVE-2011-1155 | Version: | 17 |
Platform(s): | Oracle Linux 6 | Product(s): | logrotate |
Definition Synopsis: | |||
Definition Id: oval:org.mitre.oval:def:28070 | |||
Oval ID: | oval:org.mitre.oval:def:28070 | ||
Title: | DEPRECATED: ELSA-2011-0407 -- logrotate security update (moderate) | ||
Description: | [3.7.8-12.1] - fix #688518 - fixed CVE-2011-1154, CVE-2011-1155 and CVE-2011-1098 | ||
Family: | unix | Class: | patch |
Reference(s): | ELSA-2011-0407 CVE-2011-1098 CVE-2011-1154 CVE-2011-1155 | Version: | 4 |
Platform(s): | Oracle Linux 6 | Product(s): | logrotate |
Definition Synopsis: | |||
CPE : Common Platform Enumeration
OpenVAS Exploits
Date | Description |
---|---|
2012-08-10 | Name : Gentoo Security Advisory GLSA 201206-36 (logrotate) File : nvt/glsa_201206_36.nasl |
2012-06-06 | Name : RedHat Update for logrotate RHSA-2011:0407-01 File : nvt/gb_RHSA-2011_0407-01_logrotate.nasl |
2011-07-22 | Name : Ubuntu Update for logrotate USN-1172-1 File : nvt/gb_ubuntu_USN_1172_1.nasl |
2011-04-19 | Name : Fedora Update for logrotate FEDORA-2011-3739 File : nvt/gb_fedora_2011_3739_logrotate_fc14.nasl |
2011-04-11 | Name : Mandriva Update for logrotate MDVSA-2011:065 (logrotate) File : nvt/gb_mandriva_MDVSA_2011_065.nasl |
Open Source Vulnerability Database (OSVDB)
Id | Description |
---|---|
74754 | logrotate Malformed Log Filename Handlingn DoS |
73709 | logrotate logrotate.c writeState Function Log Filename Newline / Backslash Ro... |
73708 | logrotate logrotate.c shred_file Function Log Filename Shell Metacharacter Ar... |
73707 | logrotate logrotate.c createOutputFile Function Race Condition Log Data Local... |
Nessus® Vulnerability Scanner
Date | Description |
---|---|
2015-09-16 | Name : The remote device is missing a vendor-supplied security patch. File : f5_bigip_SOL16871.nasl - Type : ACT_GATHER_INFO |
2015-09-14 | Name : The remote device is missing a vendor-supplied security patch. File : f5_bigip_SOL16869.nasl - Type : ACT_GATHER_INFO |
2014-06-13 | Name : The remote openSUSE host is missing a security update. File : suse_11_3_logrotate-110518.nasl - Type : ACT_GATHER_INFO |
2014-06-13 | Name : The remote openSUSE host is missing a security update. File : suse_11_4_logrotate-110518.nasl - Type : ACT_GATHER_INFO |
2013-07-12 | Name : The remote Oracle Linux host is missing a security update. File : oraclelinux_ELSA-2011-0407.nasl - Type : ACT_GATHER_INFO |
2012-08-01 | Name : The remote Scientific Linux host is missing a security update. File : sl_20110331_logrotate_on_SL6_x.nasl - Type : ACT_GATHER_INFO |
2012-06-26 | Name : The remote Gentoo host is missing one or more security-related patches. File : gentoo_GLSA-201206-36.nasl - Type : ACT_GATHER_INFO |
2011-12-13 | Name : The remote SuSE 10 host is missing a security-related patch. File : suse_logrotate-7533.nasl - Type : ACT_GATHER_INFO |
2011-07-22 | Name : The remote Ubuntu host is missing a security-related patch. File : ubuntu_USN-1172-1.nasl - Type : ACT_GATHER_INFO |
2011-05-26 | Name : The remote SuSE 11 host is missing a security update. File : suse_11_logrotate-110518.nasl - Type : ACT_GATHER_INFO |
2011-05-26 | Name : The remote SuSE 10 host is missing a security-related patch. File : suse_logrotate-7534.nasl - Type : ACT_GATHER_INFO |
2011-04-12 | Name : The remote Fedora host is missing a security update. File : fedora_2011-3739.nasl - Type : ACT_GATHER_INFO |
2011-04-06 | Name : The remote Mandriva Linux host is missing a security update. File : mandriva_MDVSA-2011-065.nasl - Type : ACT_GATHER_INFO |
2011-04-01 | Name : The remote Red Hat host is missing one or more security updates. File : redhat-RHSA-2011-0407.nasl - Type : ACT_GATHER_INFO |
2011-03-29 | Name : The remote Fedora host is missing a security update. File : fedora_2011-3758.nasl - Type : ACT_GATHER_INFO |
Alert History
Date | Informations |
---|---|
2014-02-17 11:54:32 |
|