Ampache: Multiple vulnerabilities — GLSA 200710-13

An SQL injection vulnerability and a possible identity theft have been discovered in Ampache.

Affected Packages

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

Background

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

Description

LT discovered that the "match" parameter in albums.php is not properly sanitized before being processed. The Ampache development team also reported an error when handling user sessions.

Impact

A remote attacker could provide malicious input to the application, possibly resulting in the execution of arbitrary SQL code. He could also entice a user to open a specially crafted link to steal the user's session.

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.3.3.5"

References

Release Date
October 13, 2007

Latest Revision
October 13, 2007: 01

Severity
low

Exploitable
remote

Bugzilla entries