blob: 270185c848aaa4828cb1dfa0021802f87d805305 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200509-21">
<title>Hylafax: Insecure temporary file creation in xferfaxstats script</title>
<synopsis>
Hylafax is vulnerable to linking attacks, potentially allowing a local user
to overwrite arbitrary files.
</synopsis>
<product type="ebuild">hylafax</product>
<announced>September 30, 2005</announced>
<revised>May 22, 2006: 02</revised>
<bug>106882</bug>
<access>local</access>
<affected>
<package name="net-misc/hylafax" auto="yes" arch="*">
<unaffected range="rge">4.2.0-r3</unaffected>
<unaffected range="rge">4.2.1-r2</unaffected>
<unaffected range="ge">4.2.2</unaffected>
<vulnerable range="lt">4.2.2</vulnerable>
</package>
</affected>
<background>
<p>
Hylafax is a client-server fax package for class 1 and 2 fax modems.
</p>
</background>
<description>
<p>
Javier Fernandez-Sanguino has discovered that xferfaxstats cron script
supplied by Hylafax insecurely creates temporary files with predictable
filenames.
</p>
</description>
<impact type="normal">
<p>
A local attacker could create symbolic links in the temporary file
directory, pointing to a valid file somewhere on the filesystem. When
the xferfaxstats script of Hylafax is executed, this would result in
the file being overwritten with the rights of the user running the
script, which typically is the root user.
</p>
</impact>
<workaround>
<p>
There is no known workaround at this time.
</p>
</workaround>
<resolution>
<p>
All Hylafax users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose net-misc/hylafax</code>
</resolution>
<references>
<uri link="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329384">Original bug report</uri>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3069">CVE-2005-3069</uri>
</references>
<metadata tag="requester" timestamp="Wed, 28 Sep 2005 15:24:43 +0000">
jaervosz
</metadata>
<metadata tag="submitter" timestamp="Wed, 28 Sep 2005 19:07:36 +0000">
jaervosz
</metadata>
<metadata tag="bugReady" timestamp="Fri, 30 Sep 2005 07:45:48 +0000">
koon
</metadata>
</glsa>