Amarok: Insecure temporary file creation

Security Team  Contact Address

Updated September 08, 2008

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200809-08 / amarok
Release Date September 08, 2008
Latest Revision September 08, 2008: 01
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
media-sound/amarok < 1.4.10 >= 1.4.10 All supported architectures

Related bugreports: #234689

Synopsis

Amarok uses temporary files in an insecure manner, allowing for a symlink attack.

2.  Impact Information

Background

Amarok is an advanced music player.

Description

Dwayne Litzenberger reported that the MagnatuneBrowser::listDownloadComplete() function in magnatunebrowser/magnatunebrowser.cpp uses the album_info.xml temporary file in an insecure manner.

Impact

A local attacker could perform a symlink attack to overwrite arbitrary files on the system with the privileges of the user running the application.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Amarok users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-sound/amarok-1.4.10"

4.  References