70 lines
2.2 KiB
XML
70 lines
2.2 KiB
XML
<?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 ">=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>
|