----------------------------------------------------------------------

Secunia customers receive relevant and filtered advisories.
Delivery is done via different channels including SMS, Email, Web,
and https based XML feed.
http://corporate.secunia.com/trial/38/request/

----------------------------------------------------------------------

TITLE:
Gentoo courier-imap "XMAILDIR" Variable Command Injection

SECUNIA ADVISORY ID:
SA24963

VERIFY ADVISORY:
http://secunia.com/advisories/24963/

CRITICAL:
Highly critical

IMPACT:
System access

WHERE:
>From remote

OPERATING SYSTEM:
Gentoo Linux 1.x
http://secunia.com/product/339/

DESCRIPTION:
Gentoo has acknowledged a vulnerability in courier-imap, which
potentially can be exploited by malicious people to compromise a
vulnerable system.

The vulnerability is caused due to incorrect handling of the
"XMAILDIR" variable in courier-imapd.indirect and
courier-pop3d.indirect. This may be exploited to e.g. execute
commands with root privileges by logging in with specially crafted
login data.

SOLUTION:
Update to "net-mail/courier-imap-4.0.6-r2" or later.

PROVIDED AND/OR DISCOVERED BY:
CJ Kucera.

ORIGINAL ADVISORY:
http://www.gentoo.org/security/en/glsa/glsa-200704-18.xml

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/


Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories
http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org

----------------------------------------------------------------------