Gentoo Logo

Ampache: Insecure temporary file usage

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200812-22 / ampache
Release Date December 23, 2008
Latest Revision December 23, 2008: 01
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
www-apps/ampache < 3.4.3 >= 3.4.3 All supported architectures

Related bugreports: #237483

Synopsis

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

2.  Impact Information

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Ampache users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References



Print

Updated December 23, 2008

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Support OSL
Gentoo Centric Hosting: vr.org
Tek Alchemy
SevenL.net
Global Netoptex Inc.
Bytemark
Online Kredit Index
Copyright 2001-2009 Gentoo Foundation, Inc. Questions, Comments? Contact us.