[ GLSA 200704-18 ] Courier-IMAP: Remote execution of arbitrary code
Date: Sun, 22 Apr 2007 23:18:36 +0200
From: Raphael Marichez <falco@gentoo.org.>
To: [email protected]
Subject: [ GLSA 200704-18 ] Courier-IMAP: Remote execution of arbitrary code
Message-ID: <20070422211836.GG31875@falco.falcal.net.>
Mail-Followup-To: [email protected],
[email protected], [email protected],
[email protected]
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="DIOMP1UsTsWJauNi"
Content-Disposition: inline
X-Web: http://falco.bz/
X-GPG-fingerprint: 04EB 153A 6B28 3E80 87A9 9B4F A77C 4BDE 021C 5BD2
X-GPG-Key: http://subkeys.pgp.net:11371/pks/lookup?op=get&search=0x021C5BD2
X-GPG-Subkey: http://subkeys.pgp.net:11371/pks/lookup?op=get&search=0x0114FC45
Organization: Gentoo Linux Security Team
User-Agent: mutt-ng/devel-r804 (Linux)
X-Virus-Scanned: antivirus-gw at tyumen.ru
--DIOMP1UsTsWJauNi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200704-18
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: High
Title: Courier-IMAP: Remote execution of arbitrary code
Date: April 22, 2007
Bugs: #168196
ID: 200704-18
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
A vulnerability has been discovered in Courier-IMAP allowing for remote
code execution with root privileges.
Background
==========
Courier-IMAP is an IMAP server which is part of the Courier mail
system. It provides access only to maildirs.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 net-mail/courier-imap < 4.0.6-r2 >= 4.0.6-r2
Description
===========
CJ Kucera has discovered that some Courier-IMAP scripts don't properly
handle the XMAILDIR variable, allowing for shell command injection.
Impact
======
A remote attacker could send specially crafted login credentials to a
Courier-IMAP server instance, possibly leading to remote code execution
with root privileges.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All Courier-IMAP users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/courier-imap-4.0.6-r2"
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200704-18.xml
Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=======
Copyright 2007 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/2.5
--DIOMP1UsTsWJauNi
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRivRLDvRww8BFPxFAQI9HAf/doMSjwW/JWEOZ1IJMo3Shxtmkm76BJv5
f8d2Cu39/AmAfdk/e2HS7eXPksgVYPDI7dxOpIc9FcQslj02TY5RfqVI/hcqPS4d
rdLcIEdDJyeAM1r++nn0FC/B1BEVDRscg6hqubJpVUPortz1qpqxmbv7hBF2Ix6i
26wViuFYclROutyfYQH7uh1MnDsCYUOwyTZ2bOnUeSHmqpF81aa6X2hYY02z3jvR
5XlTDoI5P4QatM/CflaS/DYIkmGG7srBQY8t+ITw1p8R8iHZ/ranj07eimYGHo+y
2quc1dTSiwm4PJpOSimJ6naG/65KM13P1NeI4FWgXgfziPF9vsTbMg==
=Mcqd
-----END PGP SIGNATURE-----
--DIOMP1UsTsWJauNi--