Ampache: Insecure temporary file usage — GLSA 200812-22

An insecure temporary file usage has been reported in Ampache, allowing for symlink attacks.

Affected packages

www-apps/ampache on all architectures
Affected versions < 3.4.3
Unaffected versions >= 3.4.3

Background

Ampache is a PHP based tool for managing, updating and playing audio files via a web interface.

Description

Dmitry E. Oboukhov reported an insecure temporary file usage within the gather-messages.sh script.

Impact

A local attacker could perform symlink attacks to overwrite arbitrary files with the privileges of the user running the application.

Workaround

There is no known workaround at this time.

Resolution

All Ampache users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=www-apps/ampache-3.4.3"

References

Release date
December 23, 2008

Latest revision
December 23, 2008: 01

Severity
normal

Exploitable
local

Bugzilla entries