blob: b4c47528921155bd8b871a64aefcdd06b0e70b0d [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200704-18">
<title>Courier-IMAP: Remote execution of arbitrary code</title>
A vulnerability has been discovered in Courier-IMAP allowing for remote
code execution with root privileges.
<product type="ebuild">courier-imap</product>
<announced>April 22, 2007</announced>
<revised>April 23, 2007: 02</revised>
<package name="net-mail/courier-imap" auto="yes" arch="*">
<unaffected range="ge">4.0.6-r2</unaffected>
<unaffected range="lt">4.0.0</unaffected>
<vulnerable range="lt">4.0.6-r2</vulnerable>
Courier-IMAP is an IMAP server which is part of the Courier mail
system. It provides access only to maildirs.
CJ Kucera has discovered that some Courier-IMAP scripts don't properly
handle the XMAILDIR variable, allowing for shell command injection.
<impact type="high">
A remote attacker could send specially crafted login credentials to a
Courier-IMAP server instance, possibly leading to remote code execution
with root privileges.
There is no known workaround at this time.
All Courier-IMAP users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=net-mail/courier-imap-4.0.6-r2&quot;</code>
<metadata tag="requester" timestamp="Thu, 12 Apr 2007 14:15:03 +0000">
<metadata tag="bugReady" timestamp="Thu, 12 Apr 2007 14:15:17 +0000">
<metadata tag="submitter" timestamp="Mon, 16 Apr 2007 21:50:11 +0000">