summaryrefslogtreecommitdiff
blob: b202998063c82630858ae7851b0d545d2a281714 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200704-18">
  <title>Courier-IMAP: Remote execution of arbitrary code</title>
  <synopsis>
    A vulnerability has been discovered in Courier-IMAP allowing for remote
    code execution with root privileges.
  </synopsis>
  <product type="ebuild">courier-imap</product>
  <announced>2007-04-22</announced>
  <revised>2007-04-23: 02</revised>
  <bug>168196</bug>
  <access>remote</access>
  <affected>
    <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>
    </package>
  </affected>
  <background>
    <p>
    Courier-IMAP is an IMAP server which is part of the Courier mail
    system. It provides access only to maildirs.
    </p>
  </background>
  <description>
    <p>
    CJ Kucera has discovered that some Courier-IMAP scripts don't properly
    handle the XMAILDIR variable, allowing for shell command injection.
    </p>
  </description>
  <impact type="high">
    <p>
    A remote attacker could send specially crafted login credentials to a
    Courier-IMAP server instance, possibly leading to remote code execution
    with root privileges.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Courier-IMAP users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=net-mail/courier-imap-4.0.6-r2"</code>
  </resolution>
  <references/>
  <metadata tag="requester" timestamp="2007-04-12T14:15:03Z">
    jaervosz
  </metadata>
  <metadata tag="bugReady" timestamp="2007-04-12T14:15:17Z">
    jaervosz
  </metadata>
  <metadata tag="submitter" timestamp="2007-04-16T21:50:11Z">
    p-y
  </metadata>
</glsa>