Hugin: Insecure temporary file creation

Security Team  Contact Address

Updated December 05, 2007

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200712-01 / hugin
Release Date December 05, 2007
Latest Revision December 05, 2007: 01
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
media-gfx/hugin < 0.7_beta4-r1 revision >= 0.6.1-r1, >= 0.7_beta4-r1 All supported architectures

Related bugreports: #195996

Synopsis

A vulnerability has been discovered in Hugin, potentially allowing for a Denial of Service.

2.  Impact Information

Background

Hugin is a GUI for creating and processing panoramic images.

Description

Suse Linux reported that Hugin creates the "hugin_debug_optim_results.txt" temporary file in an insecure manner.

Impact

A local attacker could exploit this vulnerability with a symlink attack, potentially overwriting an arbitrary file with the privileges of the user running the application.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Hugin users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/hugin-0.6.1-r1"

4.  References