GLSA Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 12 May 2004 Posts: 2663
|
Posted: Mon Nov 21, 2005 12:21 pm Post subject: [ GLSA 200511-16 ] GNUMP3d: Directory traversal and insecure |
|
|
Gentoo Linux Security Advisory
Title: GNUMP3d: Directory traversal and insecure temporary file creation (GLSA 200511-16)
Severity: normal
Exploitable: remote
Date: November 21, 2005
Updated: August 21, 2007
Bug(s): #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: media-sound/gnump3d
Vulnerable: < 2.9_pre7
Unaffected: >= 2.9_pre7
Architectures: All supported architectures
Description
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: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=media-sound/gnump3d-2.9_pre7" |
References
CVE-2005-3349
CVE-2005-3355
GNUMP3d Changelog
Last edited by GLSA on Wed Aug 22, 2007 4:18 am; edited 2 times in total |
|