GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Sun Apr 22, 2007 11:26 pm Post subject: [ GLSA 200704-18 ] Courier-IMAP: Remote execution of arbitra |
|
|
Gentoo Linux Security Advisory
Title: Courier-IMAP: Remote execution of arbitrary code (GLSA 200704-18)
Severity: high
Exploitable: remote
Date: April 22, 2007
Updated: April 23, 2007
Bug(s): #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: net-mail/courier-imap
Vulnerable: < 4.0.6-r2
Unaffected: >= 4.0.6-r2
Unaffected: < 4.0.0
Architectures: All supported architectures
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: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/courier-imap-4.0.6-r2" |
Last edited by GLSA on Tue Apr 24, 2007 4:18 am; edited 1 time in total |
|