Gentoo: GLSA-200511-16: GNUMP3d: Directory traversal and insecure temporary file creation
Summary
Gentoo Linux Security Advisory GLSA 200511-16
https://security.gentoo.org/
Severity: Normal
Title: GNUMP3d: Directory traversal and insecure temporary file
creation
Date: November 21, 2005
Bugs: #111990
ID: 200511-16
Synopsis
=======
Two vulnerabilities have been identified in GNUMP3d allowing for
limited directory traversal and insecure temporary file creation.
Background
=========
GNUMP3d is a streaming server for MP3s, OGG vorbis files, movies and
other media formats.
Affected packages
================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 media-sound/gnump3d < 2.9.7-r1 >= 2.9.7-r1
==========
Ludwig Nussel from SUSE Linux has identified two vulnerabilities in
GNUMP3d. GNUMP3d fails to properly check for the existence of
/tmp/index.lok before writing to the file, allowing for local
unauthorized access to files owned by the user running GNUMP3d. GNUMP3d
also fails to properly validate the "theme" GET variable from CGI
input, allowing for unauthorized file inclusion.
Impact
=====
An attacker could overwrite files owned by the user running GNUMP3d by
symlinking /tmp/index.lok to the file targeted for overwrite. An
attacker could also include arbitrary files by traversing up the
directory tree (at most two times, i.e. "../..") with the "theme" GET
variable.
Workaround
=========
There is no known workaround at this time.
Resolution
=========
All GNUMP3d users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-sound/gnump3d-2.9.7-r1"
References
=========
[ 1 ] CVE-2005-3349
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3349
[ 2 ] CVE-2005-3355
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3355
[ 3 ] GNUMP3d Changelog
http://www.gnu.org/software/gnump3d/ChangeLog
Availability
===========
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/200511-16
Concerns?
========
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
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org/.
License
======
Copyright 2005 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.
https://creativecommons.org/licenses/by-sa/2.0/
Resolution
References
Availability
Concerns
![Dist Gentoo](/images/distros/dist-gentoo.png)