[ GLSA 200812-22 ] Ampache: Insecure temporary file usage
Date: Tue, 23 Dec 2008 23:23:43 +0100
From: Pierre-Yves Rofes <py@gentoo.org.>
To: [email protected]
Subject: [ GLSA 200812-22 ] Ampache: Insecure temporary file usage
X-Enigmail-Version: 0.95.6
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature";
boundary="------------enigEA0514F981EE379D925B4DA0"
X-Virus-Scanned: antivirus-gw at tyumen.ru
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigEA0514F981EE379D925B4DA0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200812-22
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/=
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: Ampache: Insecure temporary file usage
Date: December 23, 2008
Bugs: #237483
ID: 200812-22
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D
An insecure temporary file usage has been reported in Ampache, allowing
for symlink attacks.
Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Ampache is a PHP based tool for managing, updating and playing audio
files via a web interface.
Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
-------------------------------------------------------------------=
Package / Vulnerable / Unaffected
-------------------------------------------------------------------=
1 www-apps/ampache < 3.4.3 >=3D 3.4.=
3
Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Dmitry E. Oboukhov reported an insecure temporary file usage within the
gather-messages.sh script.
Impact
=3D=3D=3D=3D=3D=3D
A local attacker could perform symlink attacks to overwrite arbitrary
files with the privileges of the user running the application.
Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
There is no known workaround at this time.
Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
All Ampache users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=3Dwww-apps/ampache-3.4.3"
References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[ 1 ] CVE-2008-3929
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2008-3929
Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200812-22.xml
Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=3D=3D=3D=3D=3D=3D=3D
Copyright 2008 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/2.5
--------------enigEA0514F981EE379D925B4DA0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAklRZO8ACgkQuhJ+ozIKI5j7cACfX6EiTrlP7N4wtLbX8TTLHF+F
C2QAn1AYhxlblnY2KJJ10bbZwtjX5Ftt
=B4Gw
-----END PGP SIGNATURE-----
--------------enigEA0514F981EE379D925B4DA0--