what you don't know can hurt you

Mandriva Linux Security Advisory 2011-065

Mandriva Linux Security Advisory 2011-065
Posted Apr 6, 2011
Authored by Mandriva | Site mandriva.com

Mandriva Linux Security Advisory 2011-065 - Race condition in the createOutputFile function in logrotate.c in logrotate 3.7.9 and earlier allows local users to read log data by opening a file before the intended permissions are in place. The shred_file function in logrotate.c in logrotate 3.7.9 and earlier 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. The writeState function in logrotate.c in logrotate 3.7.9 and earlier might allow context-dependent attackers to cause a denial of service character in a log filename, as demonstrated by a filename that is automatically constructed on the basis of a hostname or virtual machine name.

tags | advisory, denial of service, arbitrary, shell, local
systems | linux, mandriva
advisories | CVE-2011-1098, CVE-2011-1154, CVE-2011-1155
MD5 | c1e491acf3e2f1785453192fa6b5e859

Mandriva Linux Security Advisory 2011-065

Change Mirror Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

_______________________________________________________________________

Mandriva Linux Security Advisory MDVSA-2011:065
http://www.mandriva.com/security/
_______________________________________________________________________

Package : logrotate
Date : April 5, 2011
Affected: 2009.0, 2010.0, 2010.1, Corporate 4.0, Enterprise Server 5.0
_______________________________________________________________________

Problem Description:

Multiple vulnerabilities were discovered and corrected in logrotate:

Race condition in the createOutputFile function in logrotate.c in
logrotate 3.7.9 and earlier allows local users to read log data
by opening a file before the intended permissions are in place
(CVE-2011-1098).

The shred_file function in logrotate.c in logrotate 3.7.9 and earlier
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).

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 (CVE-2011-1155).

Packages for 2009.0 are provided as of the Extended Maintenance
Program. Please visit this link to learn more:
http://store.mandriva.com/product_info.php?cPath=149&products_id=490

The updated packages have been upgraded to the 3.7.9 version and
patched to correct these issues.
_______________________________________________________________________

References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1098
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1154
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1155
_______________________________________________________________________

Updated Packages:

Mandriva Linux 2009.0:
d5dcb61132d97f7df268ca4eefe2cc32 2009.0/i586/logrotate-3.7.9-0.1mdv2009.0.i586.rpm
e8fb014d36d7cbf3d9502a136d7461dc 2009.0/SRPMS/logrotate-3.7.9-0.1mdv2009.0.src.rpm

Mandriva Linux 2009.0/X86_64:
2310e0214eaea3a34800a0a92038e09c 2009.0/x86_64/logrotate-3.7.9-0.1mdv2009.0.x86_64.rpm
e8fb014d36d7cbf3d9502a136d7461dc 2009.0/SRPMS/logrotate-3.7.9-0.1mdv2009.0.src.rpm

Mandriva Linux 2010.0:
6367375a0a510b3cdd058dc03c1460dd 2010.0/i586/logrotate-3.7.9-0.1mdv2010.0.i586.rpm
c362d49b04ca344d0764696241eea515 2010.0/SRPMS/logrotate-3.7.9-0.1mdv2010.0.src.rpm

Mandriva Linux 2010.0/X86_64:
5ec315b6769ae5229bcd08edc15fba5e 2010.0/x86_64/logrotate-3.7.9-0.1mdv2010.0.x86_64.rpm
c362d49b04ca344d0764696241eea515 2010.0/SRPMS/logrotate-3.7.9-0.1mdv2010.0.src.rpm

Mandriva Linux 2010.1:
12ffd6c9bcb6ea29a753b06090b9ce6c 2010.1/i586/logrotate-3.7.9-0.1mdv2010.2.i586.rpm
e2e7398998c057d5d5e0b58738717209 2010.1/SRPMS/logrotate-3.7.9-0.1mdv2010.2.src.rpm

Mandriva Linux 2010.1/X86_64:
be26ee70cfa287f94c1a678ab18caa57 2010.1/x86_64/logrotate-3.7.9-0.1mdv2010.2.x86_64.rpm
e2e7398998c057d5d5e0b58738717209 2010.1/SRPMS/logrotate-3.7.9-0.1mdv2010.2.src.rpm

Corporate 4.0:
25bb465cb5f43736421454ad8458064b corporate/4.0/i586/logrotate-3.7.9-0.1.20060mlcs4.i586.rpm
e8851b4595095e2d554e8991466600f3 corporate/4.0/SRPMS/logrotate-3.7.9-0.1.20060mlcs4.src.rpm

Corporate 4.0/X86_64:
1a855676110e3ca98a0b332daf92cbe0 corporate/4.0/x86_64/logrotate-3.7.9-0.1.20060mlcs4.x86_64.rpm
e8851b4595095e2d554e8991466600f3 corporate/4.0/SRPMS/logrotate-3.7.9-0.1.20060mlcs4.src.rpm

Mandriva Enterprise Server 5:
86fc9cddb1502105cca2ff0bd02ac7d2 mes5/i586/logrotate-3.7.9-0.1mdvmes5.2.i586.rpm
921136120d96209ed634a267bdb84906 mes5/SRPMS/logrotate-3.7.9-0.1mdvmes5.2.src.rpm

Mandriva Enterprise Server 5/X86_64:
9020008a51baa7a662c2653c2a49f7d1 mes5/x86_64/logrotate-3.7.9-0.1mdvmes5.2.x86_64.rpm
921136120d96209ed634a267bdb84906 mes5/SRPMS/logrotate-3.7.9-0.1mdvmes5.2.src.rpm
_______________________________________________________________________

To upgrade automatically use MandrivaUpdate or urpmi. The verification
of md5 checksums and GPG signatures is performed automatically for you.

All packages are signed by Mandriva for security. You can obtain the
GPG public key of the Mandriva Security Team by executing:

gpg --recv-keys --keyserver pgp.mit.edu 0x22458A98

You can view other update advisories for Mandriva Linux at:

http://www.mandriva.com/security/advisories

If you want to report vulnerabilities, please contact

security_(at)_mandriva.com
_______________________________________________________________________

Type Bits/KeyID Date User ID
pub 1024D/22458A98 2000-07-10 Mandriva Security Team
<security*mandriva.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFNmvKRmqjQ0CJFipgRAkpPAJ9vsBEqzgISufX2ooiF090e+/+pXwCgtIWr
x5dd52XORRwjLHb5oxdf+Cc=
=YWXk
-----END PGP SIGNATURE-----
Login or Register to add favorites

File Archive:

April 2021

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    17 Files
  • 2
    Apr 2nd
    2 Files
  • 3
    Apr 3rd
    2 Files
  • 4
    Apr 4th
    0 Files
  • 5
    Apr 5th
    15 Files
  • 6
    Apr 6th
    15 Files
  • 7
    Apr 7th
    20 Files
  • 8
    Apr 8th
    16 Files
  • 9
    Apr 9th
    5 Files
  • 10
    Apr 10th
    0 Files
  • 11
    Apr 11th
    0 Files
  • 12
    Apr 12th
    4 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    0 Files
  • 16
    Apr 16th
    0 Files
  • 17
    Apr 17th
    0 Files
  • 18
    Apr 18th
    0 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close