GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Fri Sep 30, 2005 1:18 pm Post subject: [ GLSA 200509-21 ] Hylafax: Insecure temporary file creation |
|
|
Gentoo Linux Security Advisory
Title: Hylafax: Insecure temporary file creation in xferfaxstats script (GLSA 200509-21)
Severity: normal
Exploitable: local
Date: September 30, 2005
Updated: May 22, 2006
Bug(s): #106882
ID: 200509-21
Synopsis
Hylafax is vulnerable to linking attacks, potentially allowing a local user to overwrite arbitrary files.
Background
Hylafax is a client-server fax package for class 1 and 2 fax modems.
Affected Packages
Package: net-misc/hylafax
Vulnerable: < 4.2.2
Unaffected: >= 4.2.0-r3 < 4.2.1
Unaffected: >= 4.2.1-r2 < 4.2.2
Unaffected: >= 4.2.2
Architectures: All supported architectures
Description
Javier Fernandez-Sanguino has discovered that xferfaxstats cron script supplied by Hylafax insecurely creates temporary files with predictable filenames.
Impact
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.
Workaround
There is no known workaround at this time.
Resolution
All Hylafax users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose net-misc/hylafax |
References
Original bug report
CVE-2005-3069
Last edited by GLSA on Sat Jun 14, 2008 4:17 am; edited 4 times in total |
|