GLSA-200511-16 : GNUMP3d: Directory traversal and insecure temporary file creation

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200511-16
(GNUMP3d: Directory traversal and insecure temporary file creation)

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.

See also :

http://www.gnu.org/software/gnump3d/ChangeLog
http://www.gentoo.org/security/en/glsa/glsa-200511-16.xml

Solution :

All GNUMP3d users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=media-sound/gnump3d-2.9_pre7'

Risk factor :

Medium / CVSS Base Score : 6.4
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 20244 (gentoo_GLSA-200511-16.nasl)

Bugtraq ID:

CVE ID: CVE-2005-3349
CVE-2005-3355