GLSA-200712-18 : Multi-Threaded DAAP Daemon: Multiple vulnerabilities

This script is Copyright (C) 2007-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-200712-18
(Multi-Threaded DAAP Daemon: Multiple vulnerabilities)

nnp discovered multiple vulnerabilities in the XML-RPC handler in the
file webserver.c. The ws_addarg() function contains a format string
vulnerability, as it does not properly sanitize username and password
data from the 'Authorization: Basic' HTTP header line (CVE-2007-5825).
The ws_decodepassword() and ws_getheaders() functions do not correctly
handle empty Authorization header lines, or header lines without a ':'
character, leading to NULL pointer dereferences (CVE-2007-5824).

Impact :

A remote attacker could send specially crafted HTTP requests to the web
server in the Multi-Threaded DAAP Daemon, possibly leading to the
execution of arbitrary code with the privileges of the user running the
web server or a Denial of Service.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200712-18.xml

Solution :

All Multi-Threaded DAAP Daemon users should upgrade to the latest
version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=media-sound/mt-daapd-0.2.4.1'

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
Public Exploit Available : true

Family: Gentoo Local Security Checks

Nessus Plugin ID: 29815 (gentoo_GLSA-200712-18.nasl)

Bugtraq ID:

CVE ID: CVE-2007-5824
CVE-2007-5825