Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:26069
HistoryApr 06, 2011 - 12:00 a.m.

[ MDVSA-2011:065 ] logrotate

2011-04-0600:00:00
vulners.com
10

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