summaryrefslogtreecommitdiff
path: root/metadata/glsa/glsa-200708-08.xml
blob: 484601c41241224579ca0d5bc15a98efc1a60e1b (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
64
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200708-08">
  <title>SquirrelMail G/PGP plugin: Arbitrary code execution</title>
  <synopsis>
    Multiple vulnerabilities have been discovered in SquirrelMail, allowing for
    the remote execution of arbitrary code.
  </synopsis>
  <product type="ebuild">squirrelmail</product>
  <announced>2007-08-11</announced>
  <revised count="01">2007-08-11</revised>
  <bug>185010</bug>
  <access>remote</access>
  <affected>
    <package name="mail-client/squirrelmail" auto="yes" arch="*">
      <unaffected range="ge">1.4.10a-r2</unaffected>
      <vulnerable range="lt">1.4.10a-r2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    SquirrelMail is a webmail package written in PHP. It supports IMAP and
    SMTP protocols.
    </p>
  </background>
  <description>
    <p>
    The functions deletekey(), gpg_check_sign_pgp_mime() and gpg_recv_key()
    used in the SquirrelMail G/PGP encryption plugin do not properly escape
    user-supplied data.
    </p>
  </description>
  <impact type="high">
    <p>
    An authenticated user could use the plugin to execute arbitrary code on
    the server, or a remote attacker could send a specially crafted e-mail
    to a SquirrelMail user, possibly leading to the execution of arbitrary
    code with the privileges of the user running the underlying web server.
    Note that the G/PGP plugin is disabled by default.
    </p>
  </impact>
  <workaround>
    <p>
    Enter the SquirrelMail configuration directory
    (/usr/share/webapps/squirrelmail/version/htdocs/config), then execute
    the conf.pl script. Select the plugins menu, then select the gpg plugin
    item number in the "Installed Plugins" list to disable it. Press S to
    save your changes, then Q to quit.
    </p>
  </workaround>
  <resolution>
    <p>
    All SquirrelMail users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=mail-client/squirrelmail-1.4.10a-r2"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1924">CVE-2005-1924</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4169">CVE-2006-4169</uri>
  </references>
  <metadata tag="requester" timestamp="2007-07-20T20:59:21Z">
    p-y
  </metadata>
  <metadata tag="submitter" timestamp="2007-07-23T13:21:57Z">
    p-y
  </metadata>
  <metadata tag="bugReady" timestamp="2007-07-23T13:22:43Z">
    p-y
  </metadata>
</glsa>