summaryrefslogtreecommitdiff
blob: 6a819a44cde7cc525d16cae972ec97d5c9c1e2f3 (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200804-11">
  <title>policyd-weight: Insecure temporary file creation</title>
  <synopsis>
    policyd-weight uses temporary files in an insecure manner, allowing for a
    symlink attack.
  </synopsis>
  <product type="ebuild">policyd-weight</product>
  <announced>2008-04-11</announced>
  <revised count="01">2008-04-11</revised>
  <bug>214403</bug>
  <access>local</access>
  <affected>
    <package name="mail-filter/policyd-weight" auto="yes" arch="*">
      <unaffected range="ge">0.1.14.17</unaffected>
      <vulnerable range="lt">0.1.14.17</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    policyd-weight is a Perl policy daemon for the Postfix MTA intended to
    eliminate forged envelope senders and HELOs.
    </p>
  </background>
  <description>
    <p>
    Chris Howells reported that policyd-weight creates and uses the
    "/tmp/.policyd-weight/" directory in an insecure manner.
    </p>
  </description>
  <impact type="normal">
    <p>
    A local attacker could exploit this vulnerability to delete arbitrary
    files or change the ownership to the "polw" user via symlink attacks.
    </p>
  </impact>
  <workaround>
    <p>
    Set "<i>$LOCKPATH = '/var/run/policyd-weight/'</i>" manually in
    "/etc/policyd-weight.conf".
    </p>
  </workaround>
  <resolution>
    <p>
    All policyd-weight users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=mail-filter/policyd-weight-0.1.14.17"</code>
    <p>
    This version changes the default path for sockets to
    "/var/run/policyd-weight", which is only writable by a privileged user.
    Users need to restart policyd-weight immediately after the upgrade due
    to this change.
    </p>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1569">CVE-2008-1569</uri>
  </references>
  <metadata tag="requester" timestamp="2008-03-29T20:06:42Z">
    keytoaster
  </metadata>
  <metadata tag="submitter" timestamp="2008-04-07T07:47:13Z">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="2008-04-07T07:47:40Z">
    rbu
  </metadata>
</glsa>